mirror of
https://github.com/clearml/clearml
synced 2025-06-26 18:16:07 +00:00
Fix multi-processing context block catching exception
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user