From c7c97926f6d1072cdabda47532912561966f2cd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 29 Oct 2021 18:12:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/RpcJsonp.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/RpcJsonp.php b/src/RpcJsonp.php index fd5f596..bc8bed5 100644 --- a/src/RpcJsonp.php +++ b/src/RpcJsonp.php @@ -50,7 +50,6 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa */ public function init(): void { - $this->eventProvider->on(OnStart::class, [$this, 'register']); $this->eventProvider->on(OnBeforeShutdown::class, [$this, 'onBeforeShutdown']); scan_directory(APP_PATH . 'rpc', 'Rpc');