Skip to content

Commit

Permalink
reset, not release
Browse files Browse the repository at this point in the history
  • Loading branch information
dnfield committed Oct 5, 2018
1 parent a03a78c commit 021dac6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shell/platform/darwin/ios/platform_view_ios.mm
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
void PlatformViewIOS::SetOwnerViewController(fml::WeakPtr<FlutterViewController> owner_controller) {
if (ios_surface_ || !owner_controller) {
NotifyDestroyed();
ios_surface_.release();
accessibility_bridge_.release();
ios_surface_.reset();
accessibility_bridge_.reset();
}
owner_controller_ = owner_controller;
if (owner_controller_) {
Expand Down

0 comments on commit 021dac6

Please sign in to comment.