mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-31 07:12:17 +00:00
Fix incorrect synchronization on map values.
This commit is contained in:
parent
0a9f529f72
commit
00ce3d7523
@ -502,7 +502,7 @@ public class PeerGroup {
|
||||
synchronized (PeerGroup.this) {
|
||||
running = false;
|
||||
shutdownPeerDiscovery();
|
||||
synchronized (channelFutures.values()) {
|
||||
synchronized (channelFutures) {
|
||||
for (ChannelFuture future : channelFutures.values()) {
|
||||
future.getChannel().close();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user