mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fixed critical bug where servers were abandoned at exit
This commit is contained in:
parent
653a4d6bc7
commit
b957d73acb
@ -160,7 +160,7 @@ class Controller:
|
||||
svr_data = self.get_server_data(server_id)
|
||||
server_name = svr_data['server_name']
|
||||
|
||||
running = svr_obj.check_running(True)
|
||||
running = svr_obj.check_running()
|
||||
|
||||
# issue the stop command
|
||||
svr_obj.stop_threaded_server()
|
||||
|
@ -90,7 +90,7 @@ class TasksManager:
|
||||
os.remove(os.path.join(helper.root_dir, '.header'))
|
||||
controller.stop_all_servers()
|
||||
except:
|
||||
pass
|
||||
logger.info("Caught error during shutdown", exc_info=True)
|
||||
|
||||
logger.info("***** Crafty Shutting Down *****\n\n")
|
||||
console.info("***** Crafty Shutting Down *****\n\n")
|
||||
|
Loading…
Reference in New Issue
Block a user