Update FlutterView.java (flutter/engine#37312)
This commit is contained in:
@@ -1293,7 +1293,7 @@ public class FlutterView extends FrameLayout
|
||||
flutterImageView.closeImageReader();
|
||||
// Remove the FlutterImageView that was previously added by {@code convertToImageView} to
|
||||
// avoid leaks when this FlutterView is reused later in the scenario where multiple
|
||||
// FlutterActivitiy/FlutterFragment share one engine.
|
||||
// FlutterActivity/FlutterFragment share one engine.
|
||||
removeView(flutterImageView);
|
||||
flutterImageView = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user