mirror of
https://github.com/clearml/clearml
synced 2025-06-26 18:16:07 +00:00
Fix hang when leaving process
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user