From a941562a79bb727ebab11d3fb60892a35dbbc52a Mon Sep 17 00:00:00 2001 From: slince Date: Fri, 13 Oct 2023 23:18:25 +0800 Subject: [PATCH] init --- Process.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Process.php b/Process.php index 986f6ed..b69d693 100644 --- a/Process.php +++ b/Process.php @@ -33,7 +33,7 @@ final class Process implements ProcessInterface private ?int $stopSignal; private ?int $termSignal; - private static CurrentProcess $currentProcess; + private static ?CurrentProcess $currentProcess = null; public function __construct(callable $callback) {