diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/TetheringService.kt b/mobile/src/main/java/be/mygod/vpnhotspot/TetheringService.kt index 7070690a..5fd10ace 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/TetheringService.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/TetheringService.kt @@ -137,6 +137,7 @@ class TetheringService : Service(), VpnMonitor.Callback, IpNeighbourMonitor.Call if (receiverRegistered) { unregisterReceiver(receiver) LocalBroadcastManager.getInstance(this).unregisterReceiver(receiver) + IpNeighbourMonitor.unregisterCallback(this) VpnMonitor.unregisterCallback(this) upstream = null receiverRegistered = false