In FlutterPlatformViewsController::Reset, we assumed all the subviews of flutter_view are PlatformViews and we removed them.
Although it is currently true, it might not in the future and this code is easy to cause issue silently.
We should only remove platform views from the flutterView.
The easiest way is probably to check the view type before removing.
In FlutterPlatformViewsController::Reset, we assumed all the subviews of flutter_view are PlatformViews and we removed them.
Although it is currently true, it might not in the future and this code is easy to cause issue silently.
We should only remove platform views from the flutterView.
The easiest way is probably to check the view type before removing.