mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
Merge pull request #1860 from griswold1991/master
Fix ConcurrentModificationException while EventDispatcher.run after '…
This commit is contained in:
commit
4bb797407a
@ -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