mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-06 03:50:18 +02:00
chore: fix build warnings
This commit is contained in:
parent
4d01f25124
commit
f494d80166
4 changed files with 12 additions and 6 deletions
|
@ -267,6 +267,13 @@ export class Adb implements Closeable {
|
|||
return framebuffer(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Close the ADB connection.
|
||||
*
|
||||
* Note that it won't close the streams from backends.
|
||||
* The streams are both physically and logically intact,
|
||||
* and can be reused.
|
||||
*/
|
||||
public async close(): Promise<void> {
|
||||
await this.dispatcher.close();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue