X-Git-Url: http://git.asterisk.org/gitweb/?p=asterisk%2Fasterisk.git;a=blobdiff_plain;f=main%2Fapp.c;h=03c1a1e5db22569ed9e2afa5f0ea020b408f8d1d;hp=f82f7589c33488a1032acca8b16f1e8ab722a444;hb=721a1faf6d0978344fb46209cc351ee048bb15bc;hpb=d81c846724f4131e63ded19ae2749ea19ccfe7bc diff --git a/main/app.c b/main/app.c index f82f758..03c1a1e 100644 --- a/main/app.c +++ b/main/app.c @@ -2829,7 +2829,7 @@ static void app_cleanup(void) int app_init(void) { - ast_register_atexit(app_cleanup); + ast_register_cleanup(app_cleanup); if (STASIS_MESSAGE_TYPE_INIT(ast_mwi_state_type) != 0) { return -1;