Merge branch 'stable' into minor-next

This commit is contained in:
Dylan K. Taylor
2023-08-08 17:48:12 +01:00
13 changed files with 95 additions and 31 deletions

View File

@ -85,6 +85,7 @@ class RakLibServer extends Thread{
gc_enable();
ini_set("display_errors", '1');
ini_set("display_startup_errors", '1');
\GlobalLogger::set($this->logger);
$socket = new ServerSocket($this->address->deserialize());
$manager = new Server(
@ -107,11 +108,6 @@ class RakLibServer extends Thread{
$manager->waitShutdown();
}
protected function onUncaughtException(\Throwable $e) : void{
parent::onUncaughtException($e);
$this->logger->logException($e);
}
public function getThreadName() : string{
return "RakLib";
}