| 393 g_on_error_query (g_get_prgname()); |
393 g_on_error_query (g_get_prgname()); |
| 394 exit(1); |
394 exit(1); |
| 395 #endif |
395 #endif |
| 396 abort(); |
396 abort(); |
| 397 break; |
397 break; |
| |
398 case SIGCHLD: |
| |
399 clean_pid(); |
| |
400 #if HAVE_SIGNAL_H |
| |
401 signal(SIGCHLD, sighandler); /* restore signal catching on this one! */ |
| |
402 #endif |
| |
403 break; |
| 398 default: |
404 default: |
| 399 debug_printf("caught signal %d\n", sig); |
405 debug_printf("caught signal %d\n", sig); |
| 400 signoff_all(NULL, NULL); |
406 signoff_all(NULL, NULL); |
| 401 #ifdef GAIM_PLUGINS |
407 #ifdef GAIM_PLUGINS |
| 402 remove_all_plugins(); |
408 remove_all_plugins(); |