We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b55eed1 commit a709d25Copy full SHA for a709d25
app-timer-run/src/main/java/xyz/aprildown/timer/app/timer/run/MachineService.kt
@@ -168,14 +168,10 @@ class MachineService :
168
* Just release all resources
169
*/
170
override fun onDestroy() {
171
+ super.onDestroy()
172
binder = null
173
+ cancelForegroundNotif()
174
presenter.dropView()
- phoneCallReceiver?.unregister()
- phoneCallReceiver = null
175
- toForegroundHandler.removeCallbacksAndMessages(null)
176
- foregroundNotifHandler?.removeCallbacksAndMessages(null)
177
- foregroundNotifHandler = null
178
- super.onDestroy()
179
}
180
181
//
0 commit comments