-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Error when using runTask in a re-entrant way (#48235)
Summary: Pull Request resolved: #48235 Recursively calling runTask is not supported, as the inner call will no-op since we're already executing the eventloop. Currently errors are not correctly propagated, but this at least makes it so that we don't attempt to schedule the task either, which could lead to incorrect assumptions being made. Changelog: [internal] Reviewed By: rubennorte Differential Revision: D67107664 fbshipit-source-id: e665a96671f4812308d87aec3b880ce2009328e2
- Loading branch information
1 parent
9dce262
commit c06f13e
Showing
2 changed files
with
42 additions
and
1 deletion.
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