Skip to content
Snippets Groups Projects
Commit a2f71a24 authored by andreykproductengine's avatar andreykproductengine
Browse files

MAINT-7820 Fixed crash in LLEventPump

parent 14a6afea
No related branches found
No related tags found
No related merge requests found
...@@ -316,6 +316,13 @@ LLBoundListener LLEventPump::listen_impl(const std::string& name, const LLEventL ...@@ -316,6 +316,13 @@ LLBoundListener LLEventPump::listen_impl(const std::string& name, const LLEventL
const NameList& after, const NameList& after,
const NameList& before) const NameList& before)
{ {
if (!mSignal)
{
LL_WARNS() << "Can't connect listener" << LL_ENDL;
// connect will fail, return dummy
return LLBoundListener();
}
float nodePosition = 1.0; float nodePosition = 1.0;
// if the supplied name is empty we are not interested in the ordering mechanism // if the supplied name is empty we are not interested in the ordering mechanism
......
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