mirror of
https://github.com/clearml/clearml
synced 2025-02-07 13:23:40 +00:00
Fix hang when leaving process
This commit is contained in:
parent
91d63df488
commit
6ed4826c65
@ -99,7 +99,7 @@ class BackgroundReportService(BackgroundMonitor, AsyncManagerMixin):
|
||||
events = []
|
||||
while not self._queue.empty():
|
||||
try:
|
||||
events.append(self._queue.get())
|
||||
events.append(self._queue.get(block=False))
|
||||
except Empty:
|
||||
break
|
||||
if not events:
|
||||
|
Loading…
Reference in New Issue
Block a user