mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-08 12:48:28 +00:00
Fix KeyboardInterrupt behaviour
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
This commit is contained in:
@@ -194,7 +194,7 @@ class ThreadedPipelineStage:
|
||||
return
|
||||
self._running = True
|
||||
self._thread = threading.Thread(
|
||||
target=self._run, name=f"Stage-{self.name}", daemon=False
|
||||
target=self._run, name=f"Stage-{self.name}", daemon=True
|
||||
)
|
||||
self._thread.start()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user