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() function Locales.terminate()
installedLocales = nil installedLocales = nil
currentLocale = nil currentLocale = nil
localeComboBox:destroy()
localeComboBox = nil localeComboBox = nil
Extended.unregister(ExtendedLocales) Extended.unregister(ExtendedLocales)
disconnect(g_game, { onGameStart = onGameStart }) disconnect(g_game, { onGameStart = onGameStart })