Explorar o código

Fix life cycle of ResourceImporterTexture not tracked properly

Pedro J. Estébanez %!s(int64=2) %!d(string=hai) anos
pai
achega
79c798fa0b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      editor/import/resource_importer_texture.cpp

+ 1 - 0
editor/import/resource_importer_texture.cpp

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