mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: Alas backend haven't been killed when exit from tray menu
This commit is contained in:
parent
b8be504cb6
commit
94f4167396
@ -125,7 +125,9 @@ const createWindow = async () => {
|
|||||||
{
|
{
|
||||||
label: 'Exit',
|
label: 'Exit',
|
||||||
click: function () {
|
click: function () {
|
||||||
app.quit();
|
alas.kill(function () {
|
||||||
|
mainWindow?.close();
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user