diff --git a/docs/update/v2.md b/docs/update/v2.md index a0ca005a..48a56127 100644 --- a/docs/update/v2.md +++ b/docs/update/v2.md @@ -1,8 +1,14 @@ # 更新日志(v2 版本) +## v2.5.4 (buidl 421) + +> 更新时间:2021.9.11 + +- 删除多余的调试信息 + ## v2.5.3 (build 420) -> 更新事件:2021.9.11 +> 更新时间:2021.9.11 - 修复 DB 模块在未连接数据库的时候抛出未知异常 - 修复部分情况下打包模块出现的错误 diff --git a/src/ZM/ConsoleApplication.php b/src/ZM/ConsoleApplication.php index d7aa57bc..ed976eec 100644 --- a/src/ZM/ConsoleApplication.php +++ b/src/ZM/ConsoleApplication.php @@ -28,8 +28,8 @@ class ConsoleApplication extends Application { private static $obj = null; - const VERSION_ID = 420; - const VERSION = "2.5.3"; + const VERSION_ID = 421; + const VERSION = "2.5.4"; /** * @throws InitException diff --git a/src/ZM/Event/SwooleEvent/OnWorkerStart.php b/src/ZM/Event/SwooleEvent/OnWorkerStart.php index a0f484f4..9bcdbfc4 100644 --- a/src/ZM/Event/SwooleEvent/OnWorkerStart.php +++ b/src/ZM/Event/SwooleEvent/OnWorkerStart.php @@ -184,7 +184,6 @@ class OnWorkerStart implements SwooleEvent $obj->level = $obb_onebot["message_level"] ?? 99999; $obj->rule = 'connectIsQQ()'; EventManager::addEvent(OnMessageEvent::class, $obj); - zm_dump(EventManager::$events[OnMessageEvent::class]); if ($obb_onebot["single_bot_mode"]) { LightCacheInside::set("connect", "conn_fd", -1); } else {