(geoip) Fix incorrect synchronization.

This commit is contained in:
Viktor Lofgren 2023-12-11 14:01:39 +01:00
parent 30bc3f9281
commit 8f0950fc44

View File

@ -49,7 +49,9 @@ public class GeoIpDictionary {
public boolean waitReady() { public boolean waitReady() {
while (null == ranges) { while (null == ranges) {
try { try {
this.wait(); synchronized (this) {
this.wait(1000);
}
} catch (InterruptedException e) { } catch (InterruptedException e) {
return false; return false;
} }