proton: Correctly Popen.communicate() with timeout.
This commit is contained in:
parent
9f209e9091
commit
9aa92b8b13
1 changed files with 1 additions and 1 deletions
2
proton
2
proton
|
@ -1541,7 +1541,7 @@ class Session:
|
|||
if remote_debug_proc:
|
||||
remote_debug_proc.kill()
|
||||
try:
|
||||
remote_debug_proc.communicate(2)
|
||||
remote_debug_proc.communicate(timeout=2)
|
||||
except subprocess.TimeoutExpired:
|
||||
log("terminate remote debugger")
|
||||
remote_debug_proc.terminate()
|
||||
|
|
Loading…
Reference in a new issue