Merge branch 'next-minor'

This commit is contained in:
Dylan K. Taylor
2019-10-22 19:05:11 +01:00
11 changed files with 39 additions and 16 deletions

View File

@@ -45,7 +45,7 @@ class MainLogger extends \AttachableThreadedLogger{
/** @var \Threaded */
protected $logStream;
/** @var bool */
protected $shutdown;
protected $shutdown = false;
/** @var bool */
protected $logDebug;
/** @var bool */
@@ -272,7 +272,6 @@ class MainLogger extends \AttachableThreadedLogger{
}
public function run() : void{
$this->shutdown = false;
$logResource = fopen($this->logFile, "ab");
if(!is_resource($logResource)){
throw new \RuntimeException("Couldn't open log file");