mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Deregister the update callback on end of the application.
This fixes a crash on exit.
This commit is contained in:
parent
c13cd284e4
commit
ea163edc41
5 changed files with 9 additions and 20 deletions
|
@ -920,11 +920,6 @@ ConfigOptionsGroup* get_optgroup()
|
|||
return m_optgroup.get();
|
||||
}
|
||||
|
||||
void register_on_request_update_callback(void* callback) {
|
||||
if (callback != nullptr)
|
||||
g_on_request_update_callback.register_callback(callback);
|
||||
}
|
||||
|
||||
wxButton* get_wiping_dialog_button()
|
||||
{
|
||||
return g_wiping_dialog_button;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue