mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1064960 - [mozprocess] Guard against the output thread trying to join with itself. r=ahal
This commit is contained in:
parent
c27c71150f
commit
5e63bf725a
@ -812,7 +812,7 @@ falling back to not using job objects for managing child processes"""
|
||||
- '0' if the process ended without failures
|
||||
|
||||
"""
|
||||
if self.outThread:
|
||||
if self.outThread and self.outThread is not threading.current_thread():
|
||||
# Thread.join() blocks the main thread until outThread is finished
|
||||
# wake up once a second in case a keyboard interrupt is sent
|
||||
count = 0
|
||||
|
Loading…
Reference in New Issue
Block a user