diff --git a/main/asterisk.c b/main/asterisk.c index 1d52567ba4..17a4b9b364 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -2002,7 +2002,6 @@ static void really_quit(int num, shutdown_nice_t niceness, int restart) if (run_cleanups && modules_shutdown()) { ast_verb(0, "Some modules could not be unloaded, switching to fast shutdown\n"); - run_cleanups = 0; } if (!restart) {