Clear the 2 vectors in the destructor.

This commit is contained in:
Relintai 2020-10-01 21:05:37 +02:00
parent 394214b758
commit bf17467879

View File

@ -630,6 +630,8 @@ VoxelTerrarinJob::VoxelTerrarinJob() {
}
VoxelTerrarinJob::~VoxelTerrarinJob() {
_meshers.clear();
_liquid_meshers.clear();
}
void VoxelTerrarinJob::_bind_methods() {