MainLogger: Use PTHREADS_INHERIT_NONE

this thread doesn't need to inherit anything because its sole purpose is to write log messages to file.
This commit is contained in:
Dylan K. Taylor 2018-05-12 12:39:13 +01:00
parent 8239c67b1a
commit 889222e9c5

View File

@ -60,7 +60,7 @@ class MainLogger extends \AttachableThreadedLogger{
$this->logFile = $logFile;
$this->logDebug = $logDebug;
$this->logStream = new \Threaded;
$this->start();
$this->start(PTHREADS_INHERIT_NONE);
}
/**