mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
Fix ConcurrentModificationException while EventDispatcher.run after 'received push data' from Nacos
This commit is contained in:
parent
625b44e185
commit
770382b36a
@ -237,9 +237,6 @@ public class DubboServiceMetadataRepository
|
||||
dispatchEvent(new SubscribedServicesChangedEvent(this, oldSubscribedServices,
|
||||
newSubscribedServices));
|
||||
|
||||
// clear old one, help GC
|
||||
oldSubscribedServices.clear();
|
||||
|
||||
return newSubscribedServices.stream();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user