Skip to content
Snippets Groups Projects
Commit dbcb6b4f authored by Andrew A. de Laix's avatar Andrew A. de Laix
Browse files

fix crash if posting event during shutdown.

parent 1924f1bb
No related branches found
No related tags found
No related merge requests found
...@@ -475,7 +475,7 @@ void LLEventPump::stopListening(const std::string& name) ...@@ -475,7 +475,7 @@ void LLEventPump::stopListening(const std::string& name)
*****************************************************************************/ *****************************************************************************/
bool LLEventStream::post(const LLSD& event) bool LLEventStream::post(const LLSD& event)
{ {
if (! mEnabled) if (! mEnabled || !mSignal)
{ {
return false; return false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment