Skip to content

Commit

Permalink
Revert "Temporary fix for generating clean shutdowns even for mem cor…
Browse files Browse the repository at this point in the history
…ruption crashes"

This reverts commit afe99b7.
  • Loading branch information
bogdan-iancu committed Sep 6, 2022
1 parent 68616b0 commit f694d9c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions shutdown.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,7 @@ void shutdown_opensips( int status )
int i, n, p;
int chld_status;

/* TODO - temporarily removing this
* in case a mem corruption crash happens, OpenSIPS will get stuck
* in getting the SHM locks in the below function
* sr_set_core_status( STATE_TERMINATING, MI_SSTR("shutting down"));
*/
sr_set_core_status( STATE_TERMINATING, MI_SSTR("shutting down"));

/* terminate all processes */

Expand Down

0 comments on commit f694d9c

Please sign in to comment.