Reset NSNetService delegate to nil,when stop service. (flutter/engine#11270)
This commit is contained in:
@@ -80,6 +80,7 @@
|
||||
}
|
||||
#else // TARGET_IPHONE_SIMULATOR
|
||||
[_netService.get() stop];
|
||||
[_netService.get() setDelegate:nil];
|
||||
#endif // TARGET_IPHONE_SIMULATOR
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user