Update UIWindowBase.cs

This commit is contained in:
ALEXTANG
2022-10-08 17:52:25 +08:00
parent 7f919f1bd4
commit 06d60c35f5

View File

@@ -143,8 +143,9 @@ namespace TEngine.Runtime.UIModule
m_destroyed = true;
OnDestroy();
DestroyAllChild();
OnDestroy();
if (m_parent != null)
{