diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/TetheringService.kt b/mobile/src/main/java/be/mygod/vpnhotspot/TetheringService.kt index 1781ced9..426bb53a 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/TetheringService.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/TetheringService.kt @@ -56,8 +56,8 @@ class TetheringService : IpNeighbourMonitoringService(), CoroutineScope { if (downstream.monitor) downstream.start() } for ((iface, downstream) in toRemove) { - downstream.stop() if (!downstream.monitor) check(downstreams.remove(iface, downstream)) + downstream.stop() } onDownstreamsChangedLocked() }