Browse Source

Fix life cycle of ResourceImporterTexture not tracked properly

Pedro J. Estébanez 2 years ago
parent
commit
79c798fa0b
1 changed files with 1 additions and 0 deletions
  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;
 }