better debug output for the next time an autobug occurs

This commit is contained in:
geeksville 2020-06-30 12:18:49 -07:00
parent 0349e823f8
commit fed418dae2
2 changed files with 3 additions and 6 deletions

View file

@ -425,7 +425,7 @@ class BluetoothInterface(val service: RadioInterfaceService, val address: String
override fun close() {
if (safe != null) {
info("Closing radio interface service")
info("Closing BluetoothInterface")
val s = safe
safe =
null // We do this first, because if we throw we still want to mark that we no longer have a valid connection