Merge branch 'release/3.3'

This commit is contained in:
Dylan K. Taylor
2018-09-04 15:58:24 +01:00
3 changed files with 15 additions and 6 deletions

View File

@ -87,7 +87,7 @@ class RakLibInterface implements ServerInstance, AdvancedNetworkInterface{
}
public function start() : void{
$this->rakLib->start(PTHREADS_INHERIT_CONSTANTS | PTHREADS_INHERIT_INI); //HACK: MainLogger needs INI and constants
$this->rakLib->start(PTHREADS_INHERIT_CONSTANTS); //HACK: MainLogger needs constants for exception logging
}
public function setNetwork(Network $network) : void{

View File

@ -68,7 +68,7 @@ class RCONInstance extends Thread{
$this->ipcSocket = $ipcSocket;
$this->notifier = $notifier;
$this->start(PTHREADS_INHERIT_INI); //HACK: need INI for timezone (logger)
$this->start(PTHREADS_INHERIT_NONE);
}
private function writePacket($client, int $requestID, int $packetType, string $payload){