This commit is contained in:
Milos Kozak 2022-11-26 17:28:20 +01:00
commit 1839c7513d

View file

@ -228,7 +228,7 @@ class ComboV2Plugin @Inject constructor (
override fun onStart() {
super.onStart()
pumpCoroutineScope.launch {
aapsLogger.debug(LTag.PUMP, "Creating bluetooth interface")
bluetoothInterface = AndroidBluetoothInterface(context)
@ -253,7 +253,6 @@ class ComboV2Plugin @Inject constructor (
setDriverState(DriverState.Disconnected)
}
}
override fun onStop() {
pumpCoroutineScope.cancel()