Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f4227b5

Browse files
committed
[Process] Removing useless code (this is already done in updateStatus)
1 parent 2d586d2 commit f4227b5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Symfony/Component/Process/Process.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -481,10 +481,6 @@ public function isRunning()
481481

482482
$this->updateStatus();
483483

484-
if ($this->processInformation['running'] === false) {
485-
$this->status = self::STATUS_TERMINATED;
486-
}
487-
488484
return $this->processInformation['running'];
489485
}
490486

0 commit comments

Comments
 (0)