mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
Fix crash when closing Wi-Fi LAN server socket
PiperOrigin-RevId: 521883606
This commit is contained in:
committed by
Copybara-Service
parent
0575b3164b
commit
1d2b0272d3
@@ -102,6 +102,9 @@
|
||||
}
|
||||
|
||||
- (void)close {
|
||||
if (_listener == nil) {
|
||||
return;
|
||||
}
|
||||
nw_listener_cancel(_listener);
|
||||
_listener = nil;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user