Clean up afterwards
This commit is contained in:
parent
d4f1785b75
commit
e746641fba
@ -92,11 +92,10 @@ function gardenOfflineLimits() {
|
||||
for (let i = 0; i < shapes.length; i++) {
|
||||
let shape = shapes[i];
|
||||
shape.hide();
|
||||
shape = null;
|
||||
}
|
||||
|
||||
while (shapes.length > 0) {
|
||||
shapes.pop();
|
||||
}
|
||||
shapes = [];
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user