diff --git a/app/src/main/java/me/timschneeberger/rootlessjamesdsp/service/RootlessAudioProcessorService.kt b/app/src/main/java/me/timschneeberger/rootlessjamesdsp/service/RootlessAudioProcessorService.kt index e726f7577..2bc33b706 100644 --- a/app/src/main/java/me/timschneeberger/rootlessjamesdsp/service/RootlessAudioProcessorService.kt +++ b/app/src/main/java/me/timschneeberger/rootlessjamesdsp/service/RootlessAudioProcessorService.kt @@ -225,8 +225,6 @@ class RootlessAudioProcessorService : BaseAudioProcessorService() { } override fun onDestroy() { - super.onDestroy() - isServiceDisposing = true // Stop recording and release engine @@ -255,6 +253,7 @@ class RootlessAudioProcessorService : BaseAudioProcessorService() { notificationManager.cancel(NOTIFICATION_ID_SERVICE) stopSelf() + super.onDestroy() } // Preferences listener