From efd0273feaa7bb66494a9c8c82a225a6a6173418 Mon Sep 17 00:00:00 2001 From: Matthew Stratford Date: Sat, 19 Mar 2022 17:22:04 +0000 Subject: [PATCH] Revert "Fix exit hang on linux" This reverts commit 86c0ca14e742f05486497a849746b6806742791a. --- server.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server.py b/server.py index 03b4462..46d7045 100644 --- a/server.py +++ b/server.py @@ -13,7 +13,6 @@ October, November 2020 """ from datetime import datetime -import os from file_manager import FileManager import multiprocessing from multiprocessing.queues import Queue @@ -99,7 +98,7 @@ class BAPSicleServer: self.stopServer() if self.state.get()["running_state"] != "restarting": - os._exit(0) + break def check_processes(self):