mirror of https://github.com/python/cpython.git
Backport r85525 from #10098.
This commit is contained in:
parent
3606f9570e
commit
dbf8e839cf
|
@ -750,7 +750,7 @@ def _kill_with_event(self, event, name):
|
|||
# Let the interpreter startup before we send signals. See #3137.
|
||||
count, max = 0, 20
|
||||
while count < max and proc.poll() is None:
|
||||
if m[0] == '0':
|
||||
if m[0] == '1':
|
||||
break
|
||||
time.sleep(0.5)
|
||||
count += 1
|
||||
|
|
Loading…
Reference in New Issue