mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-07-24 23:45:19 +00:00
Merge branch 'wifi-aware' into wifi-aware-skip-bluetooth
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user