Fix crash when closing application (#2904)
* Update GUI_ObjectList.cpp * Update GUI_ObjectList.cpp
This commit is contained in:
committed by
GitHub
parent
cb01704be6
commit
e6c11953e2
@@ -310,7 +310,8 @@ ObjectList::ObjectList(wxWindow* parent) :
|
||||
|
||||
ObjectList::~ObjectList()
|
||||
{
|
||||
delete m_objects_model;
|
||||
if (m_objects_model)
|
||||
m_objects_model->DecRef();
|
||||
}
|
||||
|
||||
void ObjectList::set_min_height()
|
||||
|
||||
Reference in New Issue
Block a user