Clean up afterwards

This commit is contained in:
decentral1se 2021-06-01 17:57:30 +02:00
parent d4f1785b75
commit e746641fba
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A

View File

@ -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;
}