From 574ae0e4426bc554ad363e9d97cbee31b4dd3f1a Mon Sep 17 00:00:00 2001 From: Andrew Halberstadt Date: Fri, 14 Nov 2014 08:47:32 -0500 Subject: [PATCH] Bug 1060527 - [mozprocess] signal finished if IO completion port unexpectedly closed on windows, r=jgriffin --HG-- extra : rebase_source : 773b4bdcbaa088caa958b6d084989439f00a0370 --- testing/mozbase/mozprocess/mozprocess/processhandler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/mozbase/mozprocess/mozprocess/processhandler.py b/testing/mozbase/mozprocess/mozprocess/processhandler.py index 601acef5f4c..65f6e517743 100644 --- a/testing/mozbase/mozprocess/mozprocess/processhandler.py +++ b/testing/mozbase/mozprocess/mozprocess/processhandler.py @@ -363,6 +363,7 @@ falling back to not using job objects for managing child processes""" if errcode == winprocess.ERROR_ABANDONED_WAIT_0: # Then something has killed the port, break the loop print >> sys.stderr, "IO Completion Port unexpectedly closed" + self._process_events.put({self.pid: 'FINISHED'}) break elif errcode == winprocess.WAIT_TIMEOUT: # Timeouts are expected, just keep on polling