Made Trace Records loading syncronized #247
@ -331,7 +331,7 @@ public class Trace {
|
|||||||
this.records = new SoftReference<>(records);
|
this.records = new SoftReference<>(records);
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<TNTPoint> getRecords() {
|
public synchronized List<TNTPoint> getRecords() {
|
||||||
if (records.get() == null) {
|
if (records.get() == null) {
|
||||||
loadRecords();
|
loadRecords();
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren