feat: Disconnect on app quit

This commit is contained in:
2026-06-01 14:15:47 -05:00
parent 2ed1128607
commit a7d40d293c
+2
View File
@@ -24,6 +24,8 @@ app.on('window-all-closed', () => {
}
});
app.on('before-quit', disconnect);
app.on('activate', () => {
// On OS X it's common to re-create a window in the app when the
// dock icon is clicked and there are no other windows open.