connection interrupted exception
This commit is contained in:
parent
39754862f5
commit
c0f4c460c1
@ -299,11 +299,18 @@ class ManiaControl implements CommandListener {
|
|||||||
// Disable script timeout
|
// Disable script timeout
|
||||||
set_time_limit(self::SCRIPT_TIMEOUT);
|
set_time_limit(self::SCRIPT_TIMEOUT);
|
||||||
|
|
||||||
// Manager callbacks
|
try {
|
||||||
$this->callbackManager->manageCallbacks();
|
// Manager callbacks
|
||||||
|
$this->callbackManager->manageCallbacks();
|
||||||
|
|
||||||
// Manage FileReader
|
// Manage FileReader
|
||||||
$this->fileReader->appendData();
|
$this->fileReader->appendData();
|
||||||
|
|
||||||
|
} catch(Exception $e) {
|
||||||
|
if ($e->getMessage() == 'Connection interupted') {
|
||||||
|
$this->quit($e->getMessage());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Yield for next tick
|
// Yield for next tick
|
||||||
$loopEnd = microtime(true);
|
$loopEnd = microtime(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user