diff options
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/llsingleton.h | 2 |
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? |