remove sync map

This commit is contained in:
Kr328 committed 2020-04-13 10:48:05 +08:00
1 parent daac6e1e5c
commit a7b28692ea
1 file changed
+1 -1
@@ -20,7 +20,7 @@ import java.util.*
class ProfileService : BaseService() {
private val service = this
private val lock = Mutex()
private val pending = Collections.synchronizedMap(mutableMapOf<Long, ProfileMetadata>())
private val pending = mutableMapOf<Long, ProfileMetadata>()
private val tasks = mutableMapOf<Long, IStreamCallback?>()
private val request = Channel<Unit>(Channel.CONFLATED)