mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 17:25:36 +00:00
ef799498f8
This eliminates a race where the JS side thinks it has a listener, and expects a reply, but will never get one because it was unregistered while the message was in-flight. GeckoSessionHandler dispatches on the Android UI thread, which is where listeners are set/unset, so we do not need any synchronization. MozReview-Commit-ID: 5W3hsQ1cmb7 |
||
---|---|---|
.. | ||
android | ||
locales |