diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt b/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt index 646c7222..9536ae99 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt @@ -378,7 +378,7 @@ class RepeaterService : Service(), CoroutineScope, WifiP2pManager.ChannelListene } }.show() showNotification() - if (group != null) removeGroup() else cleanLocked() + if (group != null) removeGroup() else launch { cleanLocked() } } private fun showNotification(group: WifiP2pGroup? = null) = ServiceNotification.startForeground(this,