Stefan Oltmann
06/13/2022, 3:04 PMCoroutineWorker.withContext(Dispatchers.Default) {}
block. I use the IosClientEngine
for my HttpClient. In normal conditions it works fine, but in a CoroutineWorker context I get
kotlin.native.concurrent.FreezingException: freezing of InvokeOnCompletion@e9e588[job@149d2c8] has failed, first blocker is BlockingCoroutine{Completing}@e5b248
Because it's not production ready I can't really use the new memory model yet. So I need to solve it with the old one and CoroutineWorker.
How do I need to wrap my KTor HttpClient calls?e5l
06/13/2022, 3:22 PMStefan Oltmann
06/13/2022, 7:56 PMe5l
06/14/2022, 5:59 AMStefan Oltmann
06/14/2022, 6:17 AM