Fix a rare bug on shutdown.

This commit is contained in:
JoelKatz
2013-03-29 10:16:01 -07:00
parent 34005874ba
commit 24bc094cb1
2 changed files with 6 additions and 0 deletions

View File

@@ -50,6 +50,11 @@ public:
sMultiThreaded = true;
}
static void shutdown()
{
sMultiThreaded = false;
}
static bool isMultiThread()
{
return sMultiThreaded;