This commit is contained in:
2021-10-29 18:12:59 +08:00
parent b8efb343b0
commit c7c97926f6
-1
View File
@@ -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');