Script Manager Click Crash Fix & API Enhancement#8
Merged
cwuom merged 7 commits intocwuom:masterfrom Feb 21, 2026
Merged
Conversation
Owner
|
WePkgDispatcher 在之前的测试中并不会导致无限递归问题,解释一下为什么要修改它? |
cwuom
reviewed
Feb 14, 2026
| } | ||
|
|
||
| /** | ||
| * 获取当前用户ID |
Contributor
Author
我认为在脚本中 sendCgi 以及发送信息可能会出现无限递归的情况 |
Contributor
Author
|
我再修改修改吧 |
Owner
WePkgDispatcher 是始终运行(ApiHookItem)的,你可以在它初始化完成以后手动调用一次 sendCgi 进行测试,经过我之前的测试,它并没有无限递归,一般无限递归出现的话多半是 WePkgDispatcher 中调用了sendCgi 或者间接触发了 dispatch 最好还是测试一下 |
Contributor
Author
|
因为我之前为脚本提供了主动sendCgi和发送信息的接口 开启脚本功能后如果调用了相关api就会造成无限递归 现在由2秒改为了500毫秒延迟 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
描述 / Description
修复了点击脚本管理器崩溃的问题 新增了更多脚本API 并补充了Release变体的测试方法
类型 / Type
修复或解决的问题 / Issues Fixed or Closed by This PR
清单 / Checklist
其他信息 / Additional Information