Fixed bug with podman cleanup logic and new client arrangement.

This commit is contained in:
Michael Woods
2025-02-16 11:33:51 -05:00
parent 99bb3ac7ce
commit 6231711e8f

View File

@@ -451,7 +451,6 @@ class PodmanOrchestrator(Orchestrator):
def stop(self):
logging.debug("Stopping podman orchestrator.")
self._client = None
self.started = False
cli = self.client
self.user_containers = {}
@@ -460,4 +459,5 @@ class PodmanOrchestrator(Orchestrator):
logging.debug("Joining orchestrator manager thread.")
self.manager_thread.join(timeout=15)
logging.debug("Orchestrator manager thread stopped")
self.manager_thread = None
self.manager_thread = None
self._client = None