mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 09:39:21 +02:00
clean table fields on widget destruction
This commit is contained in:
parent
458cdcc23e
commit
e2203799dc
@ -552,6 +552,8 @@ void UIWidget::destroy()
|
||||
|
||||
callLuaField("onDestroy");
|
||||
|
||||
releaseLuaFieldsTable();
|
||||
|
||||
#ifdef DEBUG
|
||||
auto self = asUIWidget();
|
||||
if(self != g_ui.getRootWidget()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user