From e0727d2e571c22c11bc00f281b172d2ac359ca56 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Sat, 27 Apr 2013 00:21:22 +0200 Subject: [PATCH] Fix --- src/API/ConsoleAPI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/API/ConsoleAPI.php b/src/API/ConsoleAPI.php index f7fe4d485..b855e2a6e 100644 --- a/src/API/ConsoleAPI.php +++ b/src/API/ConsoleAPI.php @@ -40,7 +40,7 @@ class ConsoleAPI{ $this->event = new EventBase(); $event = new Event($this->event, STDIN, Event::READ | Event::PERSIST, array($this, "readLine")); $event->add(); - $this->event->loop(); + $this->event->loop(EventBase::LOOP_NONBLOCK); }else{ $this->event = $this->server->event("server.tick", array($this, "handle")); $this->loop = new ConsoleLoop();