tests: remove VM reference from QubesVMError
Yet another place wheren object references are leaked.
This commit is contained in:
parent
a972c61914
commit
0b7aa546c6
@ -395,6 +395,8 @@ class QubesTestCase(unittest.TestCase):
|
|||||||
continue
|
continue
|
||||||
ex = exc_info[1]
|
ex = exc_info[1]
|
||||||
while ex is not None:
|
while ex is not None:
|
||||||
|
if isinstance(ex, qubes.exc.QubesVMError):
|
||||||
|
ex.vm = None
|
||||||
traceback.clear_frames(ex.__traceback__)
|
traceback.clear_frames(ex.__traceback__)
|
||||||
ex = ex.__context__
|
ex = ex.__context__
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user