summaryrefslogtreecommitdiff
path: root/autobuild.xml
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2017-03-13 14:31:38 -0400
committerNat Goodspeed <nat@lindenlab.com>2017-03-13 14:31:38 -0400
commitc1458713dea2ac8cec100628c0ca5238fcca93ba (patch)
treec82b06048b6b21be77de85dec26b55b5d001c4b6 /autobuild.xml
parente6fc3528fdfd2a251571ef86f321e321865d4592 (diff)
DRTVWR-418: Make LLEventPumps an LLHandleProvider for LLEventPump.
LLEventPump's destructor was using LLEventPumps::instance() to unregister the LLEventPump instance from LLEventPumps. Evidently, though, there are lingering LLEventPump instances that persist even after the LLSingletonBase::deleteAll() call destroys the LLEventPumps LLSingleton instance. These were resurrecting LLEventPumps -- pointlessly, since a newly-resurrected LLEventPumps instance can have no knowledge of the LLEventPump instance! Unregistering is unnecessary! What we want is a reference we can bind into each LLEventPump instance that allows us to safely test whether the LLEventPumps instance still exists. LLHandle is exactly that. Make LLEventPumps an LLHandleProvider and bind its LLHandle in each LLEventPump's constructor; then the destructor can unregister only when LLEventPumps still exists.
Diffstat (limited to 'autobuild.xml')
0 files changed, 0 insertions, 0 deletions