Small fix
This commit is contained in:
parent
8cf425bd82
commit
3aef7653a4
@ -32,6 +32,7 @@ if (!extension_loaded('pthreads')) {
|
||||
|
||||
public function start()
|
||||
{
|
||||
if (!isset($this->state)) $this->state = 0;
|
||||
if ($this->state & self::STARTED) {
|
||||
throw new \RuntimeException();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user