Workaround client-sede issue, remove this when fixed

This commit is contained in:
Shoghi Cervantes
2015-05-24 10:16:43 +02:00
parent c4d63326be
commit 66435d4f6a
3 changed files with 10 additions and 4 deletions

View File

@@ -2204,7 +2204,9 @@ class Server{
if($this->isRunning === false){
return;
}
$this->sendUsage(SendUsageTask::TYPE_CLOSE);
if($this->sendUsageTicker > 0){
$this->sendUsage(SendUsageTask::TYPE_CLOSE);
}
$this->hasStopped = false;
ini_set("error_reporting", 0);