Fix the crash on startup if instances are created before the instance

tracking is initialized.
This commit is contained in:
JoelKatz
2012-12-20 08:46:57 -08:00
parent 8e201277a6
commit ca25c6c3fb
3 changed files with 24 additions and 6 deletions

View File

@@ -145,6 +145,7 @@ int main(int argc, char* argv[])
Log::setMinSeverity(lsTRACE, true);
else
Log::setMinSeverity(lsWARNING, true);
InstanceType::multiThread();
if (vm.count("test"))
{