mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
5ac2461cb0
commit
574ae0e442
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user