Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Wait on pools to terminate

davidmezzettife907ccead79
diff --git a/src/python/txtai/workflow/execute.py b/src/python/txtai/workflow/execute.py
index 24ee9cad..94deb808 100644
--- a/src/python/txtai/workflow/execute.py
+++ b/src/python/txtai/workflow/execute.py
@@ -90,8 +90,10 @@ class Execute:
if self.thread:
self.thread.close()
+ self.thread.join()
self.thread = None
if self.process:
self.process.close()
+ self.process.join()
self.process = None