Give EventDispatcher more predictable behavior
If EventDispatcher.removeListener is called to remove a listener, and if the call is made from the same thread that said listener handles events on, then it should be guaranteed that the listener will not be subsequently invoked on that thread. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=218331427
Showing
with
22 additions
and
7 deletions
Please
register
or
sign in
to comment