mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-12 02:51:46 +00:00
once instead of on
This commit is contained in:
@ -13,7 +13,7 @@ module.exports.setupInteractive = (win, unpauseNotification) => {
|
||||
|
||||
onPause = unpauseNotification;
|
||||
|
||||
win.webContents.on("closed", () => {
|
||||
win.webContents.once("closed", () => {
|
||||
Delete()
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user