Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix nondeterministic bug in RecvSelection::deinit
Using Arc::ptr_eq on trait object pointers can fail unpredictably because of rust-lang/rust#46139. This can prevent a Hook from being removed when its RecvSelection is de-inited, which makes it incorrectly push Tokens to a queue owned by a Selector that no longer exists. This may be the cause of zesterer#44.
- Loading branch information