-
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.
Fix co_nothrow throwing when co_scope_exit is inside
Summary: `folly::coro::co_nothrow` is supposed to never throw an exception, but if it wraps a `Task` with `folly::coro::co_scope_exit` inside, then it actually rethrows the exception, which seems like a clear bug. Reviewed By: iahs Differential Revision: D53438250 fbshipit-source-id: d32fe1d3385c58142035fe7bedb5a2d1e6583918
- Loading branch information
1 parent
01326c8
commit 5a6ba76
Showing
3 changed files
with
39 additions
and
7 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
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