mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
Process: drop a blank line
This commit is contained in:
parent
20d1a048dd
commit
19bd283807
@ -104,7 +104,6 @@ final class Process{
|
||||
return [$heap, $stack];
|
||||
}
|
||||
|
||||
|
||||
public static function getThreadCount() : int{
|
||||
if(Utils::getOS() === "linux" or Utils::getOS() === "android"){
|
||||
if(preg_match("/Threads:[ \t]+([0-9]+)/", file_get_contents("/proc/self/status"), $matches) > 0){
|
||||
|
Loading…
x
Reference in New Issue
Block a user