Skip to content

Commit

Permalink
Fix crash when closing application (#2904)
Browse files Browse the repository at this point in the history
* Update GUI_ObjectList.cpp

* Update GUI_ObjectList.cpp
  • Loading branch information
igiannakas authored Nov 27, 2023
1 parent ce9a8d7 commit d71eaf9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/slic3r/GUI/GUI_ObjectList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d71eaf9

Please sign in to comment.