mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-26 15:52:03 +08:00
Fix crash when closing application (#2904)
* Update GUI_ObjectList.cpp * Update GUI_ObjectList.cpp
This commit is contained in:
parent
ce9a8d7b20
commit
d71eaf958e
@ -310,7 +310,8 @@ ObjectList::ObjectList(wxWindow* parent) :
|
|||||||
|
|
||||||
ObjectList::~ObjectList()
|
ObjectList::~ObjectList()
|
||||||
{
|
{
|
||||||
delete m_objects_model;
|
if (m_objects_model)
|
||||||
|
m_objects_model->DecRef();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ObjectList::set_min_height()
|
void ObjectList::set_min_height()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user