mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-14 14:49:25 +08:00
Fix: Alas backend haven't been killed when exit from tray menu
This commit is contained in:
@@ -125,7 +125,9 @@ const createWindow = async () => {
|
||||
{
|
||||
label: 'Exit',
|
||||
click: function () {
|
||||
app.quit();
|
||||
alas.kill(function () {
|
||||
mainWindow?.close();
|
||||
})
|
||||
}
|
||||
}
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user