I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit e55e6bc7 authored by idk's avatar idk
Browse files

move singleIPv6BlockList null check in clear outside of the synchronized block

parent 0ac7d692
No related branches found
No related tags found
No related merge requests found
......@@ -293,9 +293,10 @@ public class Blocklist {
synchronized(_singleIPBlocklist) {
_singleIPBlocklist.clear();
}
synchronized(_singleIPv6Blocklist) {
if (_singleIPv6Blocklist != null)
if (_singleIPv6Blocklist != null) {
synchronized(_singleIPv6Blocklist) {
_singleIPv6Blocklist.clear();
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment