Deregister the update callback on end of the application.

This fixes a crash on exit.
This commit is contained in:
bubnikv 2018-08-05 23:36:25 +02:00
parent c13cd284e4
commit ea163edc41
5 changed files with 9 additions and 20 deletions

View file

@ -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;