mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 04:58:59 +00:00
(geoip) Fix incorrect synchronization.
This commit is contained in:
parent
30bc3f9281
commit
8f0950fc44
@ -49,7 +49,9 @@ public class GeoIpDictionary {
|
||||
public boolean waitReady() {
|
||||
while (null == ranges) {
|
||||
try {
|
||||
this.wait();
|
||||
synchronized (this) {
|
||||
this.wait(1000);
|
||||
}
|
||||
} catch (InterruptedException e) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user