diff options
author | Oz Linden <oz@lindenlab.com> | 2010-12-23 19:41:44 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2010-12-23 19:41:44 -0500 |
commit | 5a4bb72b8d37ca51deb84e1490fdefe2908d2d59 (patch) | |
tree | 9a22b0583bb290a242df3c619665fdb692e1ecef /indra/llcommon/llevents.cpp | |
parent | 86380bb177b9e18e345bc302efb3a84b2c5758a9 (diff) | |
parent | 49de8add8355455da4b6ec5aaa55427fafa94322 (diff) |
Automated merge with ssh://bitbucket.org/aleric/viewer-development-aleric-export
Diffstat (limited to 'indra/llcommon/llevents.cpp')
-rw-r--r-- | indra/llcommon/llevents.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llcommon/llevents.cpp b/indra/llcommon/llevents.cpp index 84a6620a77..97e2bdeb57 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; } @@ -515,6 +515,8 @@ bool LLEventQueue::post(const LLSD& event) void LLEventQueue::flush() { + if(!mSignal) return; + // Consider the case when a given listener on this LLEventQueue posts yet // another event on the same queue. If we loop over mEventQueue directly, // we'll end up processing all those events during the same flush() call |