From bf1746787947d49140b75780c55f74e860a6ea83 Mon Sep 17 00:00:00 2001 From: Relintai Date: Thu, 1 Oct 2020 21:05:37 +0200 Subject: [PATCH] Clear the 2 vectors in the destructor. --- world/jobs/voxel_terrarin_job.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/world/jobs/voxel_terrarin_job.cpp b/world/jobs/voxel_terrarin_job.cpp index edb9705..9233530 100644 --- a/world/jobs/voxel_terrarin_job.cpp +++ b/world/jobs/voxel_terrarin_job.cpp @@ -630,6 +630,8 @@ VoxelTerrarinJob::VoxelTerrarinJob() { } VoxelTerrarinJob::~VoxelTerrarinJob() { + _meshers.clear(); + _liquid_meshers.clear(); } void VoxelTerrarinJob::_bind_methods() {