mirror of
https://github.com/clearml/clearml
synced 2025-02-07 21:33:25 +00:00
Fix multi-processing context block catching exception
This commit is contained in:
parent
3df7d2651c
commit
db6f6f3d76
@ -62,8 +62,6 @@ class ForkSafeRLock(object):
|
||||
"""Raise any exception triggered within the runtime context."""
|
||||
# Do whatever cleanup.
|
||||
self.release()
|
||||
if any((exc_type, exc_value, traceback,)):
|
||||
raise (exc_type, exc_value, traceback)
|
||||
|
||||
|
||||
class ThreadCalls(object):
|
||||
@ -326,8 +324,6 @@ class SingletonLock(AbstractContextManager):
|
||||
"""Raise any exception triggered within the runtime context."""
|
||||
# Do whatever cleanup.
|
||||
self.release()
|
||||
if any((exc_type, exc_value, traceback,)):
|
||||
raise (exc_type, exc_value, traceback)
|
||||
|
||||
|
||||
class BackgroundMonitor(object):
|
||||
|
Loading…
Reference in New Issue
Block a user