We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在beforeHookedMethod 中使用 EventCenter.notifyForBypassFlags()这个方法可能存在问题, action 参数默认返回false, 可能会导致 afterHookedMethod 中返回值为null
登录微信闪退应该就是这个原因导致
原始代码 inline fun notifyForBypassFlags() { val shouldBypass = notifyForResults(event, action).any() }
修改点 inline fun notifyForBypassFlags() { val shouldBypass = notifyForResults(event, action).any { it } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在beforeHookedMethod 中使用 EventCenter.notifyForBypassFlags()这个方法可能存在问题, action 参数默认返回false, 可能会导致 afterHookedMethod 中返回值为null
登录微信闪退应该就是这个原因导致
原始代码
inline fun notifyForBypassFlags() {
val shouldBypass = notifyForResults(event, action).any()
}
修改点
inline fun notifyForBypassFlags() {
val shouldBypass = notifyForResults(event, action).any {
it
}
}
The text was updated successfully, but these errors were encountered: