Consider removing Unconfined
dispatcher as default CoroutineContext
for ComposeScene
creation
#4799
Labels
discussion
Need further discussion to understand if it actually needed
enhancement
New feature or request
runtime
Compose runtime problem
to be considered
I am standing up Compose UI on a new target, and was surprised to see
Dispatchers.Unconfined
as the default value for theCoroutineContext
when setting up a Compose scene. This seems like a dangerous default. I did not initially supply this value and it caused deadlocks in my application.The text was updated successfully, but these errors were encountered: