fix(base): 修复 WebSocket 连接初始化问题

- 在 WebSocket 处理器的 OnOpen 方法中增加对 target 的空值检查
- 避免在 target 为 nil 时执行后续的协程,提高代码的健壮性
This commit is contained in:
2025-07-10 12:35:08 +08:00
parent cd2a5db9d2
commit 347970eab4
2 changed files with 4 additions and 88 deletions

File diff suppressed because one or more lines are too long