mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-06 07:46:08 +00:00
Stop threads on vision shutdown
This commit is contained in:
@@ -50,10 +50,6 @@ public class CachedStream2D<T> extends BasicStream<T> implements ProceduralStrea
|
||||
|
||||
@Override
|
||||
public T get(double x, double z) {
|
||||
if (IrisComplex.cacheLock.get()) {
|
||||
return stream.get((int) x, (int) z);
|
||||
}
|
||||
|
||||
return cache.compute(Cache.key((int) x, (int) z), (k, v) -> v != null ? v : stream.get((int) x, (int) z));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user