-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
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
aio-core 1.5.31 版本会提示这个错 #12
Comments
有没有复现代码 |
生产环境运行的啊。 public static void removeOps(SelectionKey selectionKey, int opt) {
if (selectionKey.isValid() && (selectionKey.interestOps() & opt) != 0) {
selectionKey.interestOps(selectionKey.interestOps() & ~opt);
}
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
不确定是哪里多线程同时操作了?
是不是需要selectionKey.isValid() 先判断一下?
The text was updated successfully, but these errors were encountered: