mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
fix object desctory when oneClick window close
This commit is contained in:
@@ -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});
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user