avoid overreleasing FlutterView (flutter/engine#6791)

This commit is contained in:
Dan Field
2018-11-07 21:19:14 -08:00
committed by GitHub
parent 6e25fd04e8
commit 22f67d6ba3

View File

@@ -18,7 +18,7 @@
namespace shell {
void FlutterPlatformViewsController::SetFlutterView(UIView* flutter_view) {
flutter_view_.reset(flutter_view);
flutter_view_.reset([flutter_view retain]);
}
void FlutterPlatformViewsController::OnMethodCall(FlutterMethodCall* call, FlutterResult& result) {