From 79c798fa0bf9c7d823614ca8252e8b75a20e899b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20J=2E=20Est=C3=A9banez?= Date: Thu, 27 Jul 2023 13:54:30 +0200 Subject: [PATCH] Fix life cycle of ResourceImporterTexture not tracked properly --- editor/import/resource_importer_texture.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/import/resource_importer_texture.cpp b/editor/import/resource_importer_texture.cpp index 92367eab8bc..793926214a6 100644 --- a/editor/import/resource_importer_texture.cpp +++ b/editor/import/resource_importer_texture.cpp @@ -797,4 +797,5 @@ ResourceImporterTexture::ResourceImporterTexture() { } ResourceImporterTexture::~ResourceImporterTexture() { + singleton = nullptr; }