modify plugin name

This commit is contained in:
2022-06-08 14:32:20 +08:00
parent b495927099
commit b79513757b
+3 -1
View File
@@ -42,7 +42,7 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa
{ {
private int $timerId; private int $timerId = -1;
/** /**
@@ -134,8 +134,10 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa
*/ */
public function onWorkerExit(OnWorkerExit $exit): void public function onWorkerExit(OnWorkerExit $exit): void
{ {
if ($this->timerId) {
Timer::clear($this->timerId); Timer::clear($this->timerId);
} }
}
/** /**