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:
David Vacca
2023-10-12 15:10:26 -07:00
committed by Facebook GitHub Bot
parent a53b4a0a2b
commit b9c50e268c
@@ -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. */