summaryrefslogtreecommitdiff
path: root/indra/llcommon/llevents.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2017-10-11 14:16:39 +0100
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2017-10-11 14:16:39 +0100
commit299592e88e90d0942ba29e1edfa8b72691489e00 (patch)
tree7f14e8fce6e7824982233978833b8fe00384912c /indra/llcommon/llevents.cpp
parentaae13d1966b74adf59e1510bade8652f33e6867e (diff)
parentb6d22de58850fc9a5b34eeb5b7930e5845bfc42d (diff)
merge
Diffstat (limited to 'indra/llcommon/llevents.cpp')
-rw-r--r--indra/llcommon/llevents.cpp7
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