-
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent
future::get_or_*_insert_with
to panic after an inserting ta…
…sk was aborted Add `WaiterGuard` to `future::value_initializer` which will ensure that the waiter will be removed when the enclosing future has been aborted. Fixes #59.
- Loading branch information
1 parent
a14cb0d
commit d2cbbfd
Showing
2 changed files
with
132 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters