Skip to content

Commit

Permalink
Add logs to analyze IllegalStateException on creation of views
Browse files Browse the repository at this point in the history
Summary:
Add logs to analyze IllegalStateException on creation of views

changelog: [internal] internal

Reviewed By: philIip

Differential Revision: D42111336

fbshipit-source-id: bcf6495203cd6440a0ebc52ce8f962c459c38c43
  • Loading branch information
mdvacca authored and facebook-github-bot committed Dec 17, 2022
1 parent 4eecab3 commit 32af566
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ private void executeViewAttachMountItems() {
*/
@AnyThread
public void stopSurface() {
FLog.e(TAG, "Stopping surface [" + mSurfaceId + "]");
if (isStopped()) {
return;
}
Expand Down Expand Up @@ -309,6 +310,7 @@ public void run() {
if (ReactFeatureFlags.enableViewRecycling) {
mViewManagerRegistry.onSurfaceStopped(mSurfaceId);
}
FLog.e(TAG, "Surface [" + mSurfaceId + "] was stopped on SurfaceMountingManager.");
}
};

Expand Down

0 comments on commit 32af566

Please sign in to comment.