mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
ENH: avoid crash on mac platform
Change-Id: I86e7394956c860b13319b53e647ec6c8f2842c91 (cherry picked from commit 5c7077b8b9712af50c28d675f5129b518e56c92e)
This commit is contained in:
parent
c21c84c62f
commit
61a54bb38e
1 changed files with 3 additions and 0 deletions
|
@ -1212,7 +1212,10 @@ void GUI_App::shutdown()
|
|||
}
|
||||
|
||||
if (m_agent) {
|
||||
//BBS avoid a crash on mac platform
|
||||
#ifdef __WINDOWS__
|
||||
m_agent->start_discovery(false, false);
|
||||
#endif
|
||||
delete m_agent;
|
||||
m_agent = nullptr;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue