Bladeren bron

Set isShutDown flag to true on module shutDown

isDestroyed flag was set to true instead of isShutDown. 
Might mislead a user.
Thomas Tabbaza 8 jaren geleden
bovenliggende
commit
00b38867cd
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      Source/BansheeUtility/Include/BsModule.h

+ 2 - 2
Source/BansheeUtility/Include/BsModule.h

@@ -104,7 +104,7 @@ namespace bs
 			((Module*)_instance())->onShutDown();
 			((Module*)_instance())->onShutDown();
 
 
 			bs_delete(_instance());
 			bs_delete(_instance());
-			isDestroyed() = true;
+			isShutDown() = true;
 		}
 		}
 
 
 		/** Query if the module has been started. */
 		/** Query if the module has been started. */
@@ -170,4 +170,4 @@ namespace bs
 	};
 	};
 
 
 	/** @} */
 	/** @} */
-}
+}