TagSpaces is an offline, open source, document manager with tagging support
stop WS on SIGNTERM is send to app
sytolk4e1bc455ee1c
diff --git a/app/main.dev.ts b/app/main.dev.tsindex a10a8167c..940fe20a6 100644--- a/app/main.dev.ts+++ b/app/main.dev.ts@@ -525,6 +525,11 @@ app.on('window-all-closed', () => {app.quit();});+app.on('quit', () => {+ pm2.stopAll();+ globalShortcut.unregisterAll();+});+startWS();app.on('ready', async () => {