Merge pull request #71 from Tgys/patch-1
Combobox wasn't getting destroyed on terminate
This commit is contained in:
commit
f4e7bf1a17
|
@ -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 })
|
||||||
|
|
Loading…
Reference in New Issue