mirror of
https://github.com/clearml/clearml
synced 2025-02-07 13:23:40 +00:00
Fix support for sub-process (process pool)
This commit is contained in:
parent
c80aae0e1e
commit
c93d030109
@ -28,7 +28,9 @@ class AsyncManagerMixin(object):
|
||||
continue
|
||||
# add result
|
||||
if result and not result.ready():
|
||||
cls._async_results[pid] = cls._async_results.get(pid, []).append(result)
|
||||
if not cls._async_results.get(pid):
|
||||
cls._async_results[pid] = []
|
||||
cls._async_results[pid].append(result)
|
||||
break
|
||||
finally:
|
||||
cls._async_results_lock.release()
|
||||
|
Loading…
Reference in New Issue
Block a user