From 0ea978d6a3406564b9bec47b9ac404b207a5775e Mon Sep 17 00:00:00 2001 From: sonjaer Date: Wed, 17 Feb 2021 16:55:11 +0100 Subject: [PATCH] Set timeout for started_event --- capturer/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capturer/__init__.py b/capturer/__init__.py index 407ba26..2bc6933 100644 --- a/capturer/__init__.py +++ b/capturer/__init__.py @@ -151,7 +151,7 @@ def start_child(self, target): self.processes.append(child_process) child_process.daemon = True child_process.start() - started_event.wait() + started_event.wait(timeout=30) def stop_children(self): """