Revert "Fix thread starvation caused by not yielding or using an inappropriate thread pool (#2955)"

This reverts commit 22d5c9d9f4.
This commit is contained in:
AntsyLich
2026-03-20 15:28:29 +06:00
parent 56b70ef529
commit d3dcb7fe4b
16 changed files with 83 additions and 164 deletions
@@ -35,7 +35,7 @@ object Migrator {
result = null
}
suspend fun awaitAndRelease(): Boolean {
return await().also { release() }
fun awaitAndRelease(): Boolean = runBlocking {
await().also { release() }
}
}