Fix CloseProject assertions (and potentially crashes).

This commit is contained in:
Jeff Young
2025-06-30 20:52:55 -06:00
parent a2cf59cc89
commit 24ae06a96f
+3 -2
View File
@@ -61,8 +61,9 @@ PROJECT_TREE::PROJECT_TREE( PROJECT_TREE_PANE* parent ) :
PROJECT_TREE::~PROJECT_TREE()
{
delete m_imageList;
delete m_statusImageList;
// We pass ownership of these to wxWidgets in SetImageList() and SetStateImageList()
//delete m_imageList;
//delete m_statusImageList;
}