Skip to content

Commit

Permalink
Remove deprecation of onCatalystInstanceDestroy (#40777)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #40777

In this diff I'm removing the deprecation of NativeModule.onCatalystInstanceDestroy() method, changing it to DeprecatedInNewArchitecture

changelog: [Android][Breaking] Mark NativeModule.onCatalystInstanceDestroy() method as deprecated in new architecture

Reviewed By: christophpurrer

Differential Revision: D50141027

fbshipit-source-id: a4c4911bdadc27f981f3af0522317e6dd08d9344
  • Loading branch information
mdvacca authored and facebook-github-bot committed Oct 10, 2023
1 parent 7a31ecd commit b13ea17
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ interface NativeMethod {
*
* @deprecated use {@link #invalidate()} instead.
*/
@Deprecated(since = "Use invalidate method instead", forRemoval = true)
@DeprecatedInNewArchitecture(message = "Use invalidate method instead")
void onCatalystInstanceDestroy();

/** Allow NativeModule to clean up. Called before React Native instance is destroyed. */
Expand Down

0 comments on commit b13ea17

Please sign in to comment.