Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

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

* Update GUI_ObjectList.cpp

(cherry picked from commit d71eaf9)
  • Loading branch information
igiannakas authored and SoftFever committed Nov 30, 2023
1 parent b5b5e03 commit 5f89963
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/slic3r/GUI/GUI_ObjectList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,8 @@ ObjectList::ObjectList(wxWindow* parent) :

ObjectList::~ObjectList()
{
if (m_objects_model)
m_objects_model->DecRef();
}

void ObjectList::set_min_height()
Expand Down

0 comments on commit 5f89963

Please sign in to comment.