Commit 4344883b authored by Mygod's avatar Mygod

Revert "Do not join scope on shutdown"

This reverts commit 45a18699.
parent 45a18699
...@@ -162,5 +162,6 @@ class LocalDnsServer(private val localResolver: suspend (String) -> Array<InetAd ...@@ -162,5 +162,6 @@ class LocalDnsServer(private val localResolver: suspend (String) -> Array<InetAd
suspend fun shutdown() { suspend fun shutdown() {
job.cancel() job.cancel()
monitor.close() monitor.close()
job.join()
} }
} }
Markdown is supported
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