diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2018-12-29 10:15:28 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2020-03-25 18:39:19 -0400 |
commit | 0c32c98f25f3f7d99a244a249dc08b03cd36a5b0 (patch) | |
tree | e4a1d61ebddaf24a21c246791acbd91bd20e136d /indra/llwindow | |
parent | 66981fab0b3c8dcc3a031d50710a2b24ec6b0603 (diff) |
SL-793: Add LLEventPumps::clear() method to disconnect all listeners.
This is like the existing reset() method, except that reset() is specifically
intended for shutdown: it disables every existing LLEventPump in such a way
that it cannot be subsequently reused. (The original idea was to disconnect
listeners in DLLs unloaded at shutdown.)
clear() forcibly disconnects all existing listeners, but leaves LLEventPumps
ready for reuse. This is useful (e.g.) for test programs to reset the state of
LLEventPumps between individual test functions.
Diffstat (limited to 'indra/llwindow')
0 files changed, 0 insertions, 0 deletions