fix(adb): handle connection lost

This commit is contained in:
Simon Chan 2022-04-02 19:09:04 +08:00
parent 6013cf9f62
commit 38a76a2e0c
No known key found for this signature in database
GPG key ID: A8B69F750B9BCEDD
4 changed files with 21 additions and 7 deletions

View file

@ -134,6 +134,8 @@ export class Adb {
private readonly packetDispatcher: AdbPacketDispatcher;
public get disconnected() { return this.packetDispatcher.disconnected; }
private _protocolVersion: number | undefined;
public get protocolVersion() { return this._protocolVersion; }