Merge branch 'stable'

This commit is contained in:
Dylan K. Taylor
2020-01-11 22:36:57 +00:00
12 changed files with 137 additions and 4 deletions

View File

@ -119,6 +119,9 @@ final class Process{
return count(ThreadManager::getInstance()->getAll()) + 3; //RakLib + MainLogger + Main Thread
}
/**
* @param int $pid
*/
public static function kill($pid) : void{
$logger = \GlobalLogger::get();
if($logger instanceof MainLogger){