fix object desctory when oneClick window close

This commit is contained in:
MathieuG-P
2022-12-19 03:38:06 +01:00
parent 802d0533c8
commit 605a383963
9 changed files with 44 additions and 26 deletions
@@ -22,6 +22,10 @@ export class WindowManagerService{
public closeAll(except?: AppWindow){
this.ipcService.sendLazy<AppWindow>("close-all-windows", {args: except});
}
}
public close(...win: AppWindow[]){
this.ipcService.sendLazy<AppWindow[]>("close-windows", {args: win});
}
}