mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
WebWorkers: Allow native modules to be notified when executors are unregistered
Summary: This will allow them to clean up resources when a web worker goes away. Reviewed By: mhorowitz, lexs Differential Revision: D2994721 fb-gh-sync-id: c7ca1afc7290e85038cf692a139f6478dba0ef61 shipit-source-id: c7ca1afc7290e85038cf692a139f6478dba0ef61
This commit is contained in:
committed by
Facebook Github Bot 3
parent
1bab7c5182
commit
6d5f9ddfff
@@ -19,4 +19,7 @@ public interface ReactCallback {
|
||||
|
||||
@DoNotStrip
|
||||
void onBatchComplete();
|
||||
|
||||
@DoNotStrip
|
||||
void onExecutorUnregistered(ExecutorToken executorToken);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user