diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/net/monitor/InterfaceMonitor.kt b/mobile/src/main/java/be/mygod/vpnhotspot/net/monitor/InterfaceMonitor.kt index dec5c7b1..5377536c 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/net/monitor/InterfaceMonitor.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/net/monitor/InterfaceMonitor.kt @@ -29,6 +29,7 @@ class InterfaceMonitor(val iface: String) : UpstreamMonitor() { override fun destroyLocked() { IpLinkMonitor.unregisterCallback(this) + currentIface = null registered = false } }