Reset NSNetService delegate to nil,when stop service. (flutter/engine#11270)

This commit is contained in:
Qxyat
2019-09-17 01:45:52 +08:00
committed by Chris Bracken
parent c817b336ac
commit a8f0713575

View File

@@ -80,6 +80,7 @@
}
#else // TARGET_IPHONE_SIMULATOR
[_netService.get() stop];
[_netService.get() setDelegate:nil];
#endif // TARGET_IPHONE_SIMULATOR
}