Quellcode durchsuchen

Bugfix: Fixing a crash after assembly reload if a local UndoRedo stack was present in one of the editor windows

BearishSun vor 8 Jahren
Ursprung
Commit
9c8134a4fd
1 geänderte Dateien mit 2 neuen und 6 gelöschten Zeilen
  1. 2 6
      Source/BansheeUtility/Utility/BsModule.h

+ 2 - 6
Source/BansheeUtility/Utility/BsModule.h

@@ -121,14 +121,10 @@ namespace bs
 
 
 	protected:
 	protected:
 		Module() 
 		Module() 
-		{ 
-		}
+		{ }
 
 
 		virtual ~Module()
 		virtual ~Module()
-		{ 
-			_instance() = nullptr;
-			isDestroyed() = true;
-		}
+		{ }
 
 
 		Module(const Module&) { }
 		Module(const Module&) { }
 		Module& operator=(const Module&) { return *this; }
 		Module& operator=(const Module&) { return *this; }