diff options
author | Andrew A. de Laix <alain@lindenlab.com> | 2010-12-10 12:06:43 -0800 |
---|---|---|
committer | Andrew A. de Laix <alain@lindenlab.com> | 2010-12-10 12:06:43 -0800 |
commit | dbcb6b4fa5a1838f64db4198aeca1894ec0008a8 (patch) | |
tree | e279de4afc3df51a3812ee2988ef6a54418353b2 /indra/llcommon | |
parent | 1924f1bbca437eac4ca5d047c489042e65904d2e (diff) |
fix crash if posting event during shutdown.
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/llevents.cpp | 2 |
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; } |