Sdk/Canvas: Fix crash at Canvas destruction

This commit is contained in:
Lynix
2017-01-15 12:12:58 +01:00
parent 5865679891
commit e1e290808a
4 changed files with 13 additions and 1 deletions

View File

@@ -165,4 +165,9 @@ namespace Ndk
m_children.erase(it);
}
void BaseWidget::DestroyChildren()
{
m_children.clear();
}
}