Skip to content

Commit

Permalink
check the pipe property (#653)
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyseus authored and mrook committed Jan 23, 2017
1 parent ae2f683 commit 68e4eed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion classes/phing/contrib/DocBlox/Parallel/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,9 @@ protected function stopExecution(array &$processes)

/** @var DocBlox_Parallel_Worker $worker */
foreach ($this as $worker) {
$worker->pipe->push();
if (isset($worker->pipe)) {
$worker->pipe->push();
}
}

$this->is_running = false;
Expand Down

0 comments on commit 68e4eed

Please sign in to comment.