From a7b28692ea785a55fdd654568d409ad26704170a Mon Sep 17 00:00:00 2001 From: Kr328 <39107975+Kr328@users.noreply.github.com> Date: Mon, 13 Apr 2020 10:48:05 +0800 Subject: [PATCH] remove sync map --- .../main/java/com/github/kr328/clash/service/ProfileService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/src/main/java/com/github/kr328/clash/service/ProfileService.kt b/service/src/main/java/com/github/kr328/clash/service/ProfileService.kt index bf4bd04..c84585e 100644 --- a/service/src/main/java/com/github/kr328/clash/service/ProfileService.kt +++ b/service/src/main/java/com/github/kr328/clash/service/ProfileService.kt @@ -20,7 +20,7 @@ import java.util.* class ProfileService : BaseService() { private val service = this private val lock = Mutex() - private val pending = Collections.synchronizedMap(mutableMapOf()) + private val pending = mutableMapOf() private val tasks = mutableMapOf() private val request = Channel(Channel.CONFLATED)