mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-04 18:29:23 +02:00
parent
dc1a23b83d
commit
d9685acc6f
1 changed files with 2 additions and 11 deletions
|
@ -71,13 +71,6 @@ class AdbUndiciSocket extends Duplex {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async _final(
|
|
||||||
callback: (error?: Error | null | undefined) => void
|
|
||||||
): Promise<void> {
|
|
||||||
await this._socket.close();
|
|
||||||
callback();
|
|
||||||
}
|
|
||||||
|
|
||||||
async _destroy(
|
async _destroy(
|
||||||
error: Error | null,
|
error: Error | null,
|
||||||
callback: (error: Error | null) => void
|
callback: (error: Error | null) => void
|
||||||
|
@ -201,10 +194,8 @@ const STATE = makeAutoObservable(
|
||||||
);
|
);
|
||||||
|
|
||||||
const SOCKET_NAMES = [
|
const SOCKET_NAMES = [
|
||||||
"@chrome_devtools_remote",
|
"@(.*)_devtools_remote(_\\d+)?",
|
||||||
"@chrome_devtools_remote_[0-9]+",
|
"@com\\.opera\\.browser(\\.beta)?\\.devtools",
|
||||||
"@com.opera.browser.devtools",
|
|
||||||
"@com.opera.browser.beta.devtools",
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const GET_SOCKET_COMMAND = [
|
const GET_SOCKET_COMMAND = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue