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() {
super.stop()
peerSockets.keys.toList().forEach { disconnect(it) }
serverSockets.keys.toList().forEach { disconnect(it) }
// (disconnect handles map removal)
val allIds = peerSockets.keys + serverSockets.keys + networkCallbacks.keys
allIds.toSet().forEach { disconnect(it) }
}
fun getDebugInfo(): String {