mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
1 parent
4eecab3a76
commit
32af566694
1 file changed
+2
+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.");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user