add note about an unsolved autobug

pull/28/head
geeksville 2020-04-20 10:15:22 -07:00
rodzic 34aa4cde05
commit 9b57d60432
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -205,6 +205,7 @@ class SafeBluetooth(private val context: Context, private val device: BluetoothD
}
override fun onServicesDiscovered(gatt: BluetoothGatt, status: Int) {
// For testing lie and claim failure
completeWork(status, Unit)
}
@ -324,7 +325,8 @@ class SafeBluetooth(private val context: Context, private val device: BluetoothD
// startup next job in queue before calling the completion handler
val work =
synchronized(workQueue) {
val w = currentWork!! // will throw if null, which is helpful
val w =
currentWork!! // will throw if null, which is helpful (FIXME - throws in the field)
currentWork = null // We are now no longer working on anything
startNewWork()