Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/fulltextsearch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2018-08-18 18:35:09 +0300
committerMaxence Lange <maxence@artificial-owl.com>2018-08-18 18:35:09 +0300
commitc8249f9eda83157b1d5504d74bc560646acb4be1 (patch)
treeb9f9f2b57937e420ad87fb7be1522ec9f74ade73 /lib
parent783268a166670b6645f194fecb0476feab911246 (diff)
cleaning
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Model/Runner.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Model/Runner.php b/lib/Model/Runner.php
index b29be19..632c3df 100644
--- a/lib/Model/Runner.php
+++ b/lib/Model/Runner.php
@@ -155,19 +155,18 @@ class Runner {
if ($this->oldAction !== $action || $force) {
while (true) {
if (!$this->isPaused()) {
- $this->pauseRunning(false);
break;
}
$this->pauseRunning(true);
$pressed = strtolower($this->updateAction(''));
if ($pressed === $this->keys['nextStep']) {
- $this->pauseRunning(false);
break;
}
usleep(300000);
}
+ $this->pauseRunning(false);
$this->newAction($action);
}