2
0
Эх сурвалжийг харах

Fix life cycle of ResourceImporterTexture not tracked properly

Pedro J. Estébanez 2 жил өмнө
parent
commit
79c798fa0b

+ 1 - 0
editor/import/resource_importer_texture.cpp

@@ -797,4 +797,5 @@ ResourceImporterTexture::ResourceImporterTexture() {
 }
 }
 
 
 ResourceImporterTexture::~ResourceImporterTexture() {
 ResourceImporterTexture::~ResourceImporterTexture() {
+	singleton = nullptr;
 }
 }