-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: `setValue()` incorrectly leaves `result` unfulfilled, since a default-constructed `Try` doesn't have either a value or an exception, so any futures constructed after the `SharedPromise` is fulfilled are never fulfilled. Reviewed By: ispeters Differential Revision: D49373014 fbshipit-source-id: 6cd890863c9a0e4c65eab71a3b24bb760f057f91
- Loading branch information
1 parent
6c2234c
commit 63d3968
Showing
2 changed files
with
13 additions
and
5 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