Merge pull request #71 from Tgys/patch-1

Combobox wasn't getting destroyed on terminate
This commit is contained in:
Eduardo Bart 2012-08-18 15:56:22 -07:00
commit f4e7bf1a17
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ end
function Locales.terminate()
installedLocales = nil
currentLocale = nil
localeComboBox:destroy()
localeComboBox = nil
Extended.unregister(ExtendedLocales)
disconnect(g_game, { onGameStart = onGameStart })