diff --git a/testsuite/test_element.py b/testsuite/test_element.py index 4122ae5cfb..feef620fbe 100644 --- a/testsuite/test_element.py +++ b/testsuite/test_element.py @@ -56,6 +56,7 @@ class FakeSinkTest(ElementTest): self.element = gst.element_factory_make('fakesink', 'sink') def tearDown(self): + self.element.set_state(gst.STATE_NULL) del self.element ElementTest.tearDown(self)