fxbox / deprecated-taxonomy

This repository has moved.
https://github.com/fxbox/foxbox/
Mozilla Public License 2.0
0 stars 9 forks source link

Resolves #80 - Fixing race condition for WatchEvent::{GetterAdded, GetterRemoved} #84

Closed Yoric closed 8 years ago

Yoric commented 8 years ago

Turns out that the back-end could still send these events shortly after the guard was dropped.

Now using field is_dropped – which was designed for this, after all – to determine whether the guard has already been dropped, in which case we don't send the events.