Skip to content

Commit

Permalink
Ignore delegate status when disconnecting radio
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-grace committed Aug 6, 2024
1 parent 70cfd35 commit 7c1535b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/usb-radio-bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ export class MicrobitRadioBridgeConnection
return this.disconnectPromise;
}
this.serialSessionOpen = false;
this.ignoreDelegateStatus = false;
this.disconnectPromise = (async () => {
await this.serialSession?.dispose(true);
this.disconnectPromise = undefined;
Expand Down

0 comments on commit 7c1535b

Please sign in to comment.