From 00b19abb39e5651adaf53374996003660bd56db2 Mon Sep 17 00:00:00 2001 From: Andrei Vereha Date: Sat, 22 Jan 2022 00:00:01 +0100 Subject: [PATCH] fix race --- .../plugins/pump/omnipod/dash/driver/OmnipodDashManagerImpl.kt | 2 -- 1 file changed, 2 deletions(-) diff --git a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/OmnipodDashManagerImpl.kt b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/OmnipodDashManagerImpl.kt index ea24768ea1..7b3a9f3778 100644 --- a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/OmnipodDashManagerImpl.kt +++ b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/OmnipodDashManagerImpl.kt @@ -668,11 +668,9 @@ class OmnipodDashManagerImpl @Inject constructor( when (event) { is PodEvent.AlreadyConnected -> { - podStateManager.bluetoothAddress = event.bluetoothAddress } is PodEvent.BluetoothConnected -> { - podStateManager.bluetoothAddress = event.bluetoothAddress } is PodEvent.Connected -> {