summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-04-26 16:14:44 -0700
committerRichard Linden <none@none>2013-04-26 16:14:44 -0700
commita4e53da0b0d8f227865303a785d3d65848cd4ade (patch)
tree495803464e1996a3e2961627e4bda24b47dd9cd6 /indra
parent75c09963f86574486c8d006ef25b676f95666e82 (diff)
SH-4080 WIP interesting: random crash on Mac
fixed Mac crash related to non-reentrant singleton constructor
Diffstat (limited to 'indra')
-rw-r--r--indra/llcommon/llsingleton.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llsingleton.h b/indra/llcommon/llsingleton.h
index 165344ed19..829c7e4192 100644
--- a/indra/llcommon/llsingleton.h
+++ b/indra/llcommon/llsingleton.h
@@ -176,7 +176,7 @@ public:
// Use this to avoid accessing singletons before the can safely be constructed
static bool instanceExists()
{
- return sReentrantConstructorGuard || getSingletonData().mInitState == INITIALIZED;
+ return !sReentrantConstructorGuard && getSingletonData().mInitState == INITIALIZED;
}
// Has this singleton already been deleted?