diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2017-03-13 14:19:50 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2017-03-13 14:19:50 -0400 |
commit | a33c5930cbfe9b2a29359d906d6b869e983a782a (patch) | |
tree | 68c70bec1d4b40fba5e75a54198675fc5b0caa14 /indra/llui/llsliderctrl.cpp | |
parent | 1a8c8df6862620de64f621363b025b0ffbef72fa (diff) |
DRTVWR-418: Use LLTempBoundListener to manage "mainloop" listener.
LLUpdaterServiceImpl binds its onMainLoop() listener method to the "mainloop"
event so it can wake up periodically to recheck for updates. (Suggests maybe a
smarter conventional callback-on-timer facility with a central queue, instead
of every interested party intercepting *every* frame...)
~LLUpdaterServiceImpl() was calling LLEventPumps::instance() only to
disconnect that listener, which was resurrecting the deleted LLEventPumps
instance. Instead store an LLTempBoundListener in LLUpdaterServiceImpl, the
conventional way to implicitly disconnect on destroy. Use its disconnect()
method when explicit disconnection is desired.
Diffstat (limited to 'indra/llui/llsliderctrl.cpp')
0 files changed, 0 insertions, 0 deletions