|
|
@ -163,7 +163,7 @@ export class TransportWebSerial implements Types.Transport { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Cancel any remaining streams
|
|
|
// Cancel any remaining streams
|
|
|
if (this._fromDevice && this._fromDevice.locked) { |
|
|
if (this._fromDevice?.locked) { |
|
|
try { |
|
|
try { |
|
|
await this._fromDevice.cancel(); |
|
|
await this._fromDevice.cancel(); |
|
|
} catch { |
|
|
} catch { |
|
|
|