This commit is contained in:
2024-07-01 16:50:17 +08:00
parent 7080571a6f
commit b5d30c67b9
5 changed files with 62 additions and 29 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ function startServer() {
function stopServer() {
if (serverProcess) {
mainWin.closeWindows()
mainWin.hideWindows()
log.info("Killing server process with PID:", serverProcess.pid);
try {
process.kill(-serverProcess.pid, 'SIGTERM');