withContext
ingnores cancellation from withTimeout
when the dispatcher cannot execute the body
#4382
Labels
withContext
ingnores cancellation from withTimeout
when the dispatcher cannot execute the body
#4382
Describe the bug
The following code hangs, while I expected it to output Timeout. When I uncomment the commented code, it works as I expected, so
withContext
handles timeouts differently. I wonder if it can be handled correctly without a deadlock here.Provide a Reproducer
version
1.9.0
The text was updated successfully, but these errors were encountered: