mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-28 20:33:17 +02:00
Must be on main.
This commit is contained in:
@@ -183,7 +183,7 @@ class MainActivity : AppCompatActivity() {
|
||||
override fun onDestroy() {
|
||||
Log.d("Lifetime Event", "MainActivity.onDestroy")
|
||||
|
||||
GlobalScope.launch(Dispatchers.IO) {
|
||||
GlobalScope.launch(Dispatchers.Main) {
|
||||
keepPlayingMutex?.stop()
|
||||
keepPlayingMutex?.release()
|
||||
keepPlayingMutex = null
|
||||
|
Reference in New Issue
Block a user