mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 06:23:26 +02:00
Re-add destroying for unloading, other clean up:
* Cleaned some module terminate code * Fixed "reload all" issues
This commit is contained in:
@@ -150,10 +150,8 @@ function terminate()
|
||||
g_settings.setList('terminal-history', commandHistory)
|
||||
g_keyboard.unbindKeyDown('Ctrl+T')
|
||||
g_logger.setOnLog(nil)
|
||||
commandTextEdit = nil
|
||||
terminalBuffer = nil
|
||||
terminalWindow:destroy()
|
||||
terminalWindow = nil
|
||||
terminalButton:destroy()
|
||||
commandEnv = nil
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user