Bug 798256 - Crash in recnFinishCB

Make the action_group not sensitive in the recn_destroy_cb so that
the action callbacks won't be called after the recnData is freed.
pull/1133/head
John Ralls 5 years ago
parent 8ab8642e76
commit ff26b71a91

@ -2120,6 +2120,9 @@ recn_destroy_cb (GtkWidget *w, gpointer data)
if (recnData->delete_refresh)
gnc_resume_gui_refresh ();
//Disable the actions, the handlers try to access recnData
gtk_action_group_set_sensitive(recnData->action_group, FALSE);
g_free (recnData);
}

Loading…
Cancel
Save