Jeremy Gallant
11 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
packages/transport-web-serial/src/transport.ts
|
|
|
@ -163,7 +163,7 @@ export class TransportWebSerial implements Types.Transport { |
|
|
|
} |
|
|
|
|
|
|
|
// Cancel any remaining streams
|
|
|
|
if (this._fromDevice && !this._fromDevice.locked) { |
|
|
|
if (this._fromDevice && this._fromDevice.locked) { |
|
|
|
try { |
|
|
|
await this._fromDevice.cancel(); |
|
|
|
} catch { |
|
|
|
|