From 277bba36b7283b68bdef6fa01389a4adf5cbb70d Mon Sep 17 00:00:00 2001 From: Andrew Halberstadt Date: Thu, 4 Dec 2014 10:17:12 -0800 Subject: [PATCH] Bug 1104742 - Marionette runner should cleanup marionette objects when gc'ed, r=AutomatedTester --HG-- extra : rebase_source : 8a869167794d3bb439d167f4d29ceb8c820a5ebf --- testing/marionette/client/marionette/runner/base.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testing/marionette/client/marionette/runner/base.py b/testing/marionette/client/marionette/runner/base.py index 135fd812e154..ede0e49dfda1 100644 --- a/testing/marionette/client/marionette/runner/base.py +++ b/testing/marionette/client/marionette/runner/base.py @@ -942,6 +942,9 @@ setReq.onerror = function() { if self.httpd: self.httpd.stop() + if self.marionette: + self.marionette.cleanup() + __del__ = cleanup def generate_xml(self, results_list):