Explorar o código

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

BearishSun %!s(int64=8) %!d(string=hai) anos
pai
achega
9c8134a4fd
Modificáronse 1 ficheiros con 2 adicións e 6 borrados
  1. 2 6
      Source/BansheeUtility/Utility/BsModule.h

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

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