- fix topping bug where update value also save across states even already closed dialog
- fix disconnect may throw error
- add machine state payload from tcp socket
- add command/sheet api request
- add heartbeat message

Signed-off-by: pakintada@gmail.com <Pakin>
This commit is contained in:
pakintada@gmail.com 2026-04-12 10:47:53 +07:00
parent 230e2ec342
commit 916e056389
8 changed files with 78 additions and 30 deletions

View file

@ -136,9 +136,12 @@ export async function executeCmd(command: string) {
export async function disconnect() {
let instance = getAdbInstance();
if (instance) {
await instance.close();
console.log('close instance');
await saveAdbInstance(undefined);
try {
await instance.close();
console.log('close instance');
} finally {
await saveAdbInstance(undefined);
}
}
}