зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1060527 - [mozprocess] signal finished if IO completion port unexpectedly closed on windows, r=jgriffin
--HG-- extra : rebase_source : 773b4bdcbaa088caa958b6d084989439f00a0370
This commit is contained in:
Родитель
12ee966a97
Коммит
56769d6693
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче