fix tun leak

This commit is contained in:
Kr328
2020-02-22 23:23:50 +08:00
parent d346344e17
commit c0435ead01

View File

@@ -111,6 +111,7 @@ class ClashCore(private val service: Service): CoroutineScope by MainScope() {
broadcastClashStopped(service, stopReason)
Clash.stopTunDevice()
Clash.stop()
ServiceStatusProvider.serviceRunning = false