From e03c733a091a1eb6c9067a58a5ada6834d66becb Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Tue, 4 Sep 2018 15:15:58 +0200 Subject: -InterruptException Signed-off-by: Maxence Lange --- lib/Model/Runner.php | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3