mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-17 05:58:41 -09:00
fix close process (#448)
This commit is contained in:
parent
8716549902
commit
ed2c810c9f
1 changed files with 1 additions and 0 deletions
|
|
@ -221,6 +221,7 @@ app.on('ready', () => {
|
||||||
// the window can be closed by the browser process itself
|
// the window can be closed by the browser process itself
|
||||||
win.on('close', () => {
|
win.on('close', () => {
|
||||||
windowSet.delete(win);
|
windowSet.delete(win);
|
||||||
|
win.close();
|
||||||
rpc.destroy();
|
rpc.destroy();
|
||||||
deleteSessions();
|
deleteSessions();
|
||||||
cfgUnsubscribe();
|
cfgUnsubscribe();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue