mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-11 14:05:35 +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];
|
return [$heap, $stack];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public static function getThreadCount() : int{
|
public static function getThreadCount() : int{
|
||||||
if(Utils::getOS() === "linux" or Utils::getOS() === "android"){
|
if(Utils::getOS() === "linux" or Utils::getOS() === "android"){
|
||||||
if(preg_match("/Threads:[ \t]+([0-9]+)/", file_get_contents("/proc/self/status"), $matches) > 0){
|
if(preg_match("/Threads:[ \t]+([0-9]+)/", file_get_contents("/proc/self/status"), $matches) > 0){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user