From a579c7bb86c456f27eb7096d4b0ceab617a810db Mon Sep 17 00:00:00 2001 From: kr328 Date: Sun, 12 Sep 2021 12:24:09 +0800 Subject: [PATCH] Fix: should not delay before patch system dns --- .../kr328/clash/service/clash/module/NetworkObserveModule.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/service/src/main/java/com/github/kr328/clash/service/clash/module/NetworkObserveModule.kt b/service/src/main/java/com/github/kr328/clash/service/clash/module/NetworkObserveModule.kt index d1f48fc6..2a7f1562 100644 --- a/service/src/main/java/com/github/kr328/clash/service/clash/module/NetworkObserveModule.kt +++ b/service/src/main/java/com/github/kr328/clash/service/clash/module/NetworkObserveModule.kt @@ -80,8 +80,6 @@ class NetworkObserveModule(service: Service) : } try { - delay(TimeUnit.SECONDS.toMillis(10)) - while (true) { val network = networks.receive()