clean table fields on widget destruction
This commit is contained in:
parent
458cdcc23e
commit
e2203799dc
|
@ -552,6 +552,8 @@ void UIWidget::destroy()
|
||||||
|
|
||||||
callLuaField("onDestroy");
|
callLuaField("onDestroy");
|
||||||
|
|
||||||
|
releaseLuaFieldsTable();
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
auto self = asUIWidget();
|
auto self = asUIWidget();
|
||||||
if(self != g_ui.getRootWidget()) {
|
if(self != g_ui.getRootWidget()) {
|
||||||
|
|
Loading…
Reference in New Issue