Skip to content

Commit

Permalink
Update JobForker.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kongxinchi authored Jul 13, 2017
1 parent 7906787 commit 131b9cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/JobForker.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public function run(callable $runHandler, callable $failedCallback= null)

// 子进程会走到这里,直接退出
if ($this->isForked) {
return;
exit();
}

$keeper->setFailedCallback($failedCallback)
Expand Down Expand Up @@ -297,4 +297,4 @@ public function wait()
}
$this->statistics->report();
}
}
}

0 comments on commit 131b9cc

Please sign in to comment.