Currently the lifecycle coroutine exceptions use Dispatchers.Main as the default scheduler. This is fine but Dispatchers.Main.immediate would provide slightly better performance since it doesn't switch if already running on the main thread thus avoiding a dispatch in many cases.
Dispatchers.Main.immediate was promoted to stable in version 1.2.0 of coroutines
Description
Dispatchers.Main.immediate was promoted to stable in version 1.2.0 of coroutines