This commit is contained in:
2021-02-22 18:33:08 +08:00
parent 44a59a2041
commit 6df44a3684
+1 -1
View File
@@ -65,7 +65,6 @@ class Node extends HttpService
public function init() public function init()
{ {
listen(Event::SERVER_AFTER_WORKER_START, [$this, 'restructure']); listen(Event::SERVER_AFTER_WORKER_START, [$this, 'restructure']);
var_dump($this);
} }
/** /**
@@ -446,6 +445,7 @@ class Node extends HttpService
*/ */
private function restructure(): static private function restructure(): static
{ {
var_dump($this->handler);
if (empty($this->handler)) { if (empty($this->handler)) {
return $this; return $this;
} }