mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2026-05-09 18:11:26 +08:00
fix tun leak
This commit is contained in:
@@ -111,6 +111,7 @@ class ClashCore(private val service: Service): CoroutineScope by MainScope() {
|
||||
|
||||
broadcastClashStopped(service, stopReason)
|
||||
|
||||
Clash.stopTunDevice()
|
||||
Clash.stop()
|
||||
|
||||
ServiceStatusProvider.serviceRunning = false
|
||||
|
||||
Reference in New Issue
Block a user