Allow Ctrl+C to break normally while still handling it well

This commit is contained in:
Christian Dywan 2009-12-07 20:10:33 +01:00
parent 3fc4f6347f
commit fadd0f31c2

View file

@ -1576,8 +1576,10 @@ midori_remove_config_file (gint clear_prefs,
static void
signal_handler (int signal_id)
{
signal (signal_id, 0);
midori_app_quit_cb (NULL);
gtk_main_quit ();
if (kill (getpid (), signal_id))
exit (1);
}
#endif