I'm trying to use `synchronized(lock)` inside a `a...
# coroutines
f
I'm trying to use
synchronized(lock)
inside a
async(UI)
block, but this throws an exception
java.lang.IllegalStateException: Already resumed, but got exception java.lang.IllegalMonitorStateException: did not lock monitor on object of type 'java.lang.Object' before unlocking
Is there another way that should be used to lock
async
blocks?