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…
Reference in New Issue