diff options
| author | andreykproductengine <andreykproductengine@lindenlab.com> | 2017-09-19 16:36:00 +0300 | 
|---|---|---|
| committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2017-09-19 16:36:00 +0300 | 
| commit | a2f71a242a868cf961c0aba52ec9b644742cd917 (patch) | |
| tree | 71d65f974eee87a40fb372aefb655b9a15d13a3d | |
| parent | 14a6afea84c1fcdabb0282428d143692062463e8 (diff) | |
MAINT-7820 Fixed crash in LLEventPump
| -rw-r--r-- | indra/llcommon/llevents.cpp | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/indra/llcommon/llevents.cpp b/indra/llcommon/llevents.cpp index 97270e4931..93db6c0d17 100644 --- a/indra/llcommon/llevents.cpp +++ b/indra/llcommon/llevents.cpp @@ -316,6 +316,13 @@ LLBoundListener LLEventPump::listen_impl(const std::string& name, const LLEventL                                           const NameList& after,                                           const NameList& before)  { +    if (!mSignal) +    { +        LL_WARNS() << "Can't connect listener" << LL_ENDL; +        // connect will fail, return dummy +        return LLBoundListener(); +    } +      float nodePosition = 1.0;      // if the supplied name is empty we are not interested in the ordering mechanism  | 
