summaryrefslogtreecommitdiff
path: root/indra/llvfs/lldirguard.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2017-03-13 14:19:50 -0400
committerNat Goodspeed <nat@lindenlab.com>2017-03-13 14:19:50 -0400
commita33c5930cbfe9b2a29359d906d6b869e983a782a (patch)
tree68c70bec1d4b40fba5e75a54198675fc5b0caa14 /indra/llvfs/lldirguard.h
parent1a8c8df6862620de64f621363b025b0ffbef72fa (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/llvfs/lldirguard.h')
0 files changed, 0 insertions, 0 deletions