mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
Combobox wasn't getting destroyed on terminate
This caused several of those comboboxes to appear next to eachother once reloading this module (whenever you'd do anything with the *ghost* comboboxes, it errors).
This commit is contained in:
@@ -70,6 +70,7 @@ end
|
||||
function Locales.terminate()
|
||||
installedLocales = nil
|
||||
currentLocale = nil
|
||||
localeComboBox:destroy()
|
||||
localeComboBox = nil
|
||||
Extended.unregister(ExtendedLocales)
|
||||
disconnect(g_game, { onGameStart = onGameStart })
|
||||
|
Reference in New Issue
Block a user