diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2018-09-04 16:15:58 +0300 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2018-09-04 16:15:58 +0300 |
commit | e03c733a091a1eb6c9067a58a5ada6834d66becb (patch) | |
tree | 840327e4ed1338df9121b2a66ca1f8391d039aa8 | |
parent | f147bc7673ffcf824d848d29363ef258264ec69a (diff) |
-InterruptException
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r-- | lib/Model/Runner.php | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/lib/Model/Runner.php b/lib/Model/Runner.php index 8a654a0..8644dd9 100644 --- a/lib/Model/Runner.php +++ b/lib/Model/Runner.php @@ -146,12 +146,12 @@ class Runner { } $tick = time(); - try { - $this->hasBeenInterrupted(); - } catch (InterruptException $e) { - $this->stop(); - throw $e; - } +// try { +// $this->hasBeenInterrupted(); +// } catch (InterruptException $e) { +// $this->stop(); +// throw $e; +// } if ($this->oldAction !== $action || $force) { while (true) { @@ -355,15 +355,15 @@ class Runner { } - /** - * @throws InterruptException - */ - private function hasBeenInterrupted() { - if ($this->commandBase === null) { - return; - } - $this->commandBase->hasBeenInterrupted(); - } +// /** +// * @throws InterruptException +// */ +// private function hasBeenInterrupted() { +// if ($this->commandBase === null) { +// return; +// } +// $this->commandBase->hasBeenInterrupted(); +// } /** @@ -442,12 +442,12 @@ class Runner { } - /** - * @return bool - */ - public function isStrict() { - return $this->strict; - } +// /** +// * @return bool +// */ +// public function isStrict() { +// return $this->strict; +// } /** * @param string $line |