-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
多个bean需要回调销毁方法,在for循环remove #31
Comments
@NotGiveUp 问题是? |
在for循环里 remove报错 java.util.ConcurrentModificationException |
@NotGiveUp 很奇怪,这么写理论上没有问题,日志能贴一下吗 |
你搞2个bean 实现DisposableBean 跑你的test 就行; java.util.ConcurrentModificationException |
@NotGiveUp get,beanNames指向disposableBeans.keySet()。有兴趣可以参考spring的做法提个pull request。 |
今晚修复下 |
The text was updated successfully, but these errors were encountered: