added comment/suggestion about potential memory leak
This commit is contained in:
@@ -74,9 +74,13 @@ def tworker():
|
|||||||
rv = meth(*args,**kwargs)
|
rv = meth(*args,**kwargs)
|
||||||
except SYS_EXCS:
|
except SYS_EXCS:
|
||||||
raise
|
raise
|
||||||
except Exception,exn:
|
except Exception:
|
||||||
rv = sys.exc_info()
|
rv = sys.exc_info()
|
||||||
_rspq.put((e,rv))
|
_rspq.put((e,rv)) # @@tavis: not supposed to
|
||||||
|
# keep references to
|
||||||
|
# sys.exc_info() so it would
|
||||||
|
# be worthwhile testing
|
||||||
|
# if this leads to memory leaks
|
||||||
meth = args = kwargs = e = rv = None
|
meth = args = kwargs = e = rv = None
|
||||||
_signal_t2e()
|
_signal_t2e()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user