Merge pull request #2221 from dv1/comboctl-dev

combov2: Revert accidental change to onStart()
This commit is contained in:
Milos Kozak 2022-11-26 15:39:18 +01:00 committed by GitHub
commit 04c93d4b2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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()