-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding support to cancel a headless task (#20416)
Summary: On UWP, when the app is executing a Background task, the OS can request it to cancel the task (for various reasons). If the app does not cancel its background task quickly, the OS might terminate the app. This change adds support to cancel the headless task which can be used by native code to forward the cancellation request from the OS to the JS code. Pull Request resolved: #20416 Differential Revision: D10052080 Pulled By: cpojer fbshipit-source-id: 2c0322ebb45f7835739f68bdf82a7100d968c516
- Loading branch information
1 parent
d4adf50
commit c9ee902
Showing
1 changed file
with
39 additions
and
6 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