diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/res_agi.c | 1 | ||||
-rw-r--r-- | res/res_config_odbc.c | 1 | ||||
-rw-r--r-- | res/res_config_pgsql.c | 2 | ||||
-rw-r--r-- | res/res_features.c | 2 | ||||
-rw-r--r-- | res/res_realtime.c | 1 |
5 files changed, 0 insertions, 7 deletions
diff --git a/res/res_agi.c b/res/res_agi.c index 72683e691..a69239936 100644 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -2138,7 +2138,6 @@ static struct ast_cli_entry cli_agi[] = { static int unload_module(void) { - ast_module_user_hangup_all(); ast_cli_unregister_multiple(cli_agi, sizeof(cli_agi) / sizeof(struct ast_cli_entry)); ast_unregister_application(eapp); ast_unregister_application(deadapp); diff --git a/res/res_config_odbc.c b/res/res_config_odbc.c index 158b40f67..28c8c316e 100644 --- a/res/res_config_odbc.c +++ b/res/res_config_odbc.c @@ -575,7 +575,6 @@ static struct ast_config_engine odbc_engine = { static int unload_module (void) { - ast_module_user_hangup_all(); ast_config_engine_deregister(&odbc_engine); if (option_verbose) ast_verbose("res_config_odbc unloaded.\n"); diff --git a/res/res_config_pgsql.c b/res/res_config_pgsql.c index e8993dd86..4b9c1898f 100644 --- a/res/res_config_pgsql.c +++ b/res/res_config_pgsql.c @@ -573,8 +573,6 @@ static int unload_module(void) ast_verbose("Postgresql RealTime unloaded.\n"); } - ast_module_user_hangup_all(); - /* Unlock so something else can destroy the lock. */ ast_mutex_unlock(&pgsql_lock); diff --git a/res/res_features.c b/res/res_features.c index 3e31df24f..3f71bfadf 100644 --- a/res/res_features.c +++ b/res/res_features.c @@ -3051,8 +3051,6 @@ static int load_module(void) static int unload_module(void) { - ast_module_user_hangup_all(); - ast_manager_unregister("ParkedCalls"); ast_manager_unregister("Bridge"); ast_manager_unregister("Park"); diff --git a/res/res_realtime.c b/res/res_realtime.c index 28525f448..3981e74f1 100644 --- a/res/res_realtime.c +++ b/res/res_realtime.c @@ -114,7 +114,6 @@ static struct ast_cli_entry cli_realtime[] = { static int unload_module(void) { ast_cli_unregister_multiple(cli_realtime, sizeof(cli_realtime) / sizeof(struct ast_cli_entry)); - ast_module_user_hangup_all(); return 0; } |