We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1c8535 commit f704684Copy full SHA for f704684
src/main/kotlin/org/polyfrost/polyplus/utils/HashManager.kt
@@ -13,7 +13,7 @@ class HashManager(val file: File) {
13
private var hashJob: Deferred<Unit> = CompletableDeferred()
14
15
init {
16
- hashJob = PolyPlusClient.SCOPE.async {
+ hashJob = PolyPlusClient.SCOPE.async(Dispatchers.IO) {
17
if (!file.exists()) {
18
file.parentFile?.mkdirs()
19
file.createNewFile()
0 commit comments