mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 04:35:11 +02:00
Fix bug in test found by manual log inspection (#46309)
This commit is contained in:
@@ -40,7 +40,8 @@ class WorkerSync:
|
||||
# Block the worker thread until the test has a chance to verify
|
||||
# the segments under test.
|
||||
logging.debug("blocking worker")
|
||||
self._event.wait()
|
||||
if self._event:
|
||||
self._event.wait()
|
||||
|
||||
# Forward to actual implementation
|
||||
self._original(stream)
|
||||
|
Reference in New Issue
Block a user