Commit 456712e3 authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Don't clear the map, override it with a new one

parent e6d3020d
Pipeline #5841 passed with stage
in 2 minutes and 5 seconds
......@@ -134,7 +134,7 @@ class QueryListener(private val context: Context) : QueryListener {
synchronized(waitingQueryLogs) {
currentInsertions = waitingQueryLogs.toMap()
currentDoneInsertions = doneQueries
doneQueries.clear()
doneQueries = mutableMapOf()
}
val database = context.getDatabase()
val dao = database.dnsQueryDao()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment