Fix RakLib crashing without logging any useful crash information

This commit is contained in:
Dylan K. Taylor 2017-02-01 17:59:13 +00:00
parent 06c399fa05
commit 28baae8154
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ class RakLibInterface implements ServerInstance, AdvancedSourceInterface{
}
}
if($this->rakLib->isTerminated()){
if(!$this->rakLib->isRunning() and !$this->rakLib->isShutdown()){
$this->network->unregisterInterface($this);
throw new \Exception("RakLib Thread crashed");

@ -1 +1 @@
Subproject commit f4bfcb8e6b7cf93f3961dd8fc9c5ba44ce068763
Subproject commit 989ad8198cb5dd9b463a03831c1332e4cea60858