summaryrefslogtreecommitdiff
path: root/indra/llcommon/llcommon.cpp
diff options
context:
space:
mode:
authorsimon <none@none>2013-04-17 11:17:46 -0700
committersimon <none@none>2013-04-17 11:17:46 -0700
commit6742d90d39fbb5c5bc3b675f37841fd6c8ec09c9 (patch)
tree841285193b28a3c971051f53573a2a2f1c83a330 /indra/llcommon/llcommon.cpp
parentc537b63936e49d4e685d96695334fdd7a961b470 (diff)
Some minor cleanups while hunting crashes. Reviewed by Kelly
Diffstat (limited to 'indra/llcommon/llcommon.cpp')
-rw-r--r--indra/llcommon/llcommon.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llcommon/llcommon.cpp b/indra/llcommon/llcommon.cpp
index 8be9e4f4de..b938b0e65a 100644
--- a/indra/llcommon/llcommon.cpp
+++ b/indra/llcommon/llcommon.cpp
@@ -44,6 +44,7 @@ void LLCommon::initClass()
}
LLTimer::initClass();
LLThreadSafeRefCount::initThreadSafeRefCount();
+ assert_main_thread(); // Make sure we record the main thread
// LLWorkerThread::initClass();
// LLFrameCallbackManager::initClass();
}