mirror of
https://github.com/danog/process.git
synced 2024-12-11 16:49:40 +01:00
Fix exit code watcher on Windows
This commit is contained in:
parent
f57648e278
commit
624d8b59de
@ -127,7 +127,7 @@ final class Runner implements ProcessRunner {
|
||||
throw new ProcessException("Terminating process failed");
|
||||
}
|
||||
|
||||
if ($this->exitCodeWatcher !== null) {
|
||||
if ($handle->exitCodeWatcher !== null) {
|
||||
Loop::cancel($handle->exitCodeWatcher);
|
||||
$handle->exitCodeWatcher = null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user