mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Revert undeprecation of onCatalystInstanceDestroy (#40800)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/40800 Revert undeprecation of onCatalystInstanceDestroy revert of D50141027 changelog: [Android][Changed] Deprecated NativeModule.onCatalystInstanceDestroy Reviewed By: christophpurrer Differential Revision: D50195995 fbshipit-source-id: ccfa91e40db2c6b05e78d571ca94e609d1993fba
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a53b4a0a2b
commit
b9c50e268c
+1
-1
@@ -52,7 +52,7 @@ public interface NativeModule {
|
||||
*
|
||||
* @deprecated use {@link #invalidate()} instead.
|
||||
*/
|
||||
@DeprecatedInNewArchitecture(message = "Use invalidate method instead")
|
||||
@Deprecated(since = "Use invalidate method instead", forRemoval = true)
|
||||
void onCatalystInstanceDestroy();
|
||||
|
||||
/** Allow NativeModule to clean up. Called before React Native instance is destroyed. */
|
||||
|
||||
Reference in New Issue
Block a user