Merge branch 'wifi-aware' into wifi-aware-skip-bluetooth

This commit is contained in:
callebtc
2026-01-04 02:01:53 +07:00
committed by GitHub
@@ -72,9 +72,8 @@ class WifiAwareConnectionTracker(
*/ */
override fun stop() { override fun stop() {
super.stop() super.stop()
peerSockets.keys.toList().forEach { disconnect(it) } val allIds = peerSockets.keys + serverSockets.keys + networkCallbacks.keys
serverSockets.keys.toList().forEach { disconnect(it) } allIds.toSet().forEach { disconnect(it) }
// (disconnect handles map removal)
} }
fun getDebugInfo(): String { fun getDebugInfo(): String {