Skip to content

Commit f686b91

Browse files
Remove discard connection/clear device on disconnect
in favour of doing this in consuming app side
1 parent 1d9128e commit f686b91

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/bluetooth.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,6 @@ class MicrobitWebBluetoothConnectionImpl
330330
message: "error-disconnecting",
331331
});
332332
} finally {
333-
this.connection = undefined;
334333
this.setStatus(ConnectionStatus.DISCONNECTED);
335334
this.logging.event({
336335
type: "Bluetooth-info",

0 commit comments

Comments
 (0)