Fix bug with unloaded server delete

This commit is contained in:
amcmanu3 2023-03-01 14:59:30 -05:00
parent ec1076fbce
commit c0381da880

View File

@ -138,6 +138,7 @@ class ApiServersServerIndexHandler(BaseApiHandler):
for item in self.controller.servers.failed_servers[:]:
if item["server_id"] == int(server_id):
self.controller.servers.failed_servers.remove(item)
failed = True
if failed:
self.controller.remove_unloaded_server(server_id)