fix autobug - discovery can now occur after mtu

pull/40/head
geeksville 2020-06-10 11:42:11 -07:00
rodzic cff90c5bd7
commit 1be402d771
1 zmienionych plików z 0 dodań i 1 usunięć

Wyświetl plik

@ -573,7 +573,6 @@ class SafeBluetooth(private val context: Context, private val device: BluetoothD
}
fun asyncDiscoverServices(cb: (Result<Unit>) -> Unit) {
logAssert(workQueue.isEmpty() && currentWork == null) // I don't think anything should be able to sneak in front
queueDiscoverServices(CallbackContinuation(cb))
}