summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew A. de Laix <alain@lindenlab.com>2010-12-10 12:06:43 -0800
committerAndrew A. de Laix <alain@lindenlab.com>2010-12-10 12:06:43 -0800
commitdbcb6b4fa5a1838f64db4198aeca1894ec0008a8 (patch)
treee279de4afc3df51a3812ee2988ef6a54418353b2
parent1924f1bbca437eac4ca5d047c489042e65904d2e (diff)
fix crash if posting event during shutdown.
-rw-r--r--indra/llcommon/llevents.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/llevents.cpp b/indra/llcommon/llevents.cpp
index 84a6620a77..b8a594b9bc 100644
--- a/indra/llcommon/llevents.cpp
+++ b/indra/llcommon/llevents.cpp
@@ -475,7 +475,7 @@ void LLEventPump::stopListening(const std::string& name)
*****************************************************************************/
bool LLEventStream::post(const LLSD& event)
{
- if (! mEnabled)
+ if (! mEnabled || !mSignal)
{
return false;
}