Drop usages of Process:kill() with subprocesses parameter

we don't need this any more with console reader improvements, and this was not working correctly anyway.

closes #5234
This commit is contained in:
Dylan K. Taylor
2023-07-20 17:10:39 +01:00
parent 4bdd6410db
commit 9b43ddecbd
5 changed files with 10 additions and 7 deletions

View File

@ -125,7 +125,10 @@ final class Process{
return count(ThreadManager::getInstance()->getAll()) + 2; //MainLogger + Main Thread
}
public static function kill(int $pid, bool $subprocesses) : void{
/**
* @param bool $subprocesses @deprecated
*/
public static function kill(int $pid, bool $subprocesses = false) : void{
$logger = \GlobalLogger::get();
if($logger instanceof MainLogger){
$logger->syncFlushBuffer();