mirror of
https://github.com/cucumber-sp/yandex-music-linux.git
synced 2024-12-23 22:22:59 +03:00
b751cba90b
Change-Id: I4739feb75997d1b6f76af4deccb6f8a38e2d1e39
16 lines
580 B
Diff
16 lines
580 B
Diff
diff --git a/main/lib/handlers/handleWindowLifecycleEvents.js b/main/lib/handlers/handleWindowLifecycleEvents.js
|
|
index 269d1f6..ff744b4 100644
|
|
--- a/main/lib/handlers/handleWindowLifecycleEvents.js
|
|
+++ b/main/lib/handlers/handleWindowLifecycleEvents.js
|
|
@@ -36,6 +36,7 @@ const handleWindowLifecycleEvents = (window) => {
|
|
checkAndUpdateApplicationData(window);
|
|
});
|
|
window.on('close', (event) => {
|
|
+ electron_1.app.quit();
|
|
if (!state_js_1.state.willQuit) {
|
|
event.preventDefault();
|
|
if (window.isFullScreen()) {
|
|
--
|
|
2.42.0
|
|
|