mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-05 02:39:26 +02:00
fix(adb): handle connection lost
This commit is contained in:
parent
6013cf9f62
commit
38a76a2e0c
4 changed files with 21 additions and 7 deletions
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue