TileClipper: synchronize clip()

This commit is contained in:
Gustl22 2018-12-07 23:46:25 +01:00
parent 62132937da
commit a517b76e9e

View File

@ -51,7 +51,7 @@ public class TileClipper {
private final GeometryBuffer mGeomOut = new GeometryBuffer(10, 1);
public boolean clip(GeometryBuffer geom) {
public synchronized boolean clip(GeometryBuffer geom) {
if (geom.isPoly()) {
GeometryBuffer out = mGeomOut;