Commit 7f5a562b authored by Denis Bilenko's avatar Denis Bilenko

unreference the traceback early

parent fa2800cd
...@@ -266,6 +266,7 @@ class Hub(greenlet): ...@@ -266,6 +266,7 @@ class Hub(greenlet):
if issubclass(type, self.NOT_ERROR): if issubclass(type, self.NOT_ERROR):
return return
traceback.print_exception(type, value, tb) traceback.print_exception(type, value, tb)
del tb
if context is not None: if context is not None:
if not isinstance(context, str): if not isinstance(context, str):
try: try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment