Add logs to analyze IllegalStateException on creation of views

Summary:
Add logs to analyze IllegalStateException on creation of views

changelog: [internal] internal

Reviewed By: philIip

Differential Revision: D42111336

fbshipit-source-id: bcf6495203cd6440a0ebc52ce8f962c459c38c43
This commit is contained in:
David Vacca authored and Facebook GitHub Bot committed 2022-12-16 16:11:19 -08:00
1 parent 4eecab3a76
commit 32af566694
1 file changed
+2
@@ -267,6 +267,7 @@ public class SurfaceMountingManager {
*/
@AnyThread
public void stopSurface() {
FLog.e(TAG, "Stopping surface [" + mSurfaceId + "]");
if (isStopped()) {
return;
}
@@ -309,6 +310,7 @@ public class SurfaceMountingManager {
if (ReactFeatureFlags.enableViewRecycling) {
mViewManagerRegistry.onSurfaceStopped(mSurfaceId);
}
FLog.e(TAG, "Surface [" + mSurfaceId + "] was stopped on SurfaceMountingManager.");
}
};