Browse Source

- Explicitly unload the Sandbox module rather than letting the module-manager just iterate all the modules during its shutdown which will work but cause warnings.

MelvMay-GG 12 years ago
parent
commit
7df9a35
1 changed files with 2 additions and 0 deletions
  1. 2 0
      main.cs

+ 2 - 0
main.cs

@@ -63,4 +63,6 @@ ModuleDatabase.LoadExplicit( "Sandbox" );
 
 function onExit()
 {
+    // Unload the sandbox module.
+    ModuleDatabase.unloadExplicit( "Sandbox" );
 }