From a8f0713575d7eb63d3c345aa1fd3a4993724b8d0 Mon Sep 17 00:00:00 2001 From: Qxyat Date: Tue, 17 Sep 2019 01:45:52 +0800 Subject: [PATCH] =?UTF-8?q?Reset=20NSNetService=20delegate=20to=20nil?= =?UTF-8?q?=EF=BC=8Cwhen=20stop=20service.=20(flutter/engine#11270)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../darwin/ios/framework/Source/FlutterObservatoryPublisher.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterObservatoryPublisher.mm b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterObservatoryPublisher.mm index 9d52b5de02..147ef0d117 100644 --- a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterObservatoryPublisher.mm +++ b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterObservatoryPublisher.mm @@ -80,6 +80,7 @@ } #else // TARGET_IPHONE_SIMULATOR [_netService.get() stop]; + [_netService.get() setDelegate:nil]; #endif // TARGET_IPHONE_SIMULATOR }