mirror of
https://github.com/Myzel394/Alibi.git
synced 2025-06-18 23:05:26 +02:00
fix: Clean settings on reset
This commit is contained in:
parent
0d723bcfd4
commit
6a382e6660
@ -144,10 +144,11 @@ class RecorderService: Service() {
|
||||
|
||||
stopForeground(STOP_FOREGROUND_REMOVE)
|
||||
stopSelf()
|
||||
resetCoroutineScope()
|
||||
}
|
||||
|
||||
fun reset() {
|
||||
resetCoroutineScope()
|
||||
settings = null
|
||||
recordingStart = null
|
||||
counter = 0
|
||||
amplitudes.clear()
|
||||
|
Loading…
x
Reference in New Issue
Block a user