diff --git a/qubes/tests/__init__.py b/qubes/tests/__init__.py index 367e269e..122a37f7 100644 --- a/qubes/tests/__init__.py +++ b/qubes/tests/__init__.py @@ -410,6 +410,9 @@ class QubesTestCase(unittest.TestCase): global libvirt_event_impl + # really destroy all objects that could have used loop and/or libvirt + gc.collect() + # Check for unfinished libvirt business. if libvirt_event_impl is not None: try: