Re-add destroying for unloading, other clean up:

* Cleaned some module terminate code
* Fixed "reload all" issues
This commit is contained in:
BeniS
2013-02-01 17:32:15 +13:00
parent 35e5dd8af8
commit 7f5dda5c8f
21 changed files with 31 additions and 77 deletions

View File

@@ -118,7 +118,8 @@ function terminate()
--g_keyboard.unbindKeyDown('Ctrl+D')
g_keyboard.unbindKeyDown('Ctrl+Shift+F')
optionsWindow:destroy()
optionsWindow = nil
optionsButton:destroy()
audioButton:destroy()
optionsTabBar = nil
generalPanel = nil
consolePanel = nil