Skip to content
Snippets Groups Projects
Commit e01d93e0 authored by Benjamin Ford's avatar Benjamin Ford Committed by Benjamin Keith Ford
Browse files

ARI: Fixed unload mode for unload module.

Changed the unload mode to AST_FORCE_SOFT from AST_FORCE_FIRM,
which would unload a module even if it was in use.

* Changed unload mode to proper mode

ASTERISK-25173

Change-Id: If2402487b5bce05d9770f25f65f5c8e292ad5533
parent b188eb78
No related branches found
No related tags found
No related merge requests found
...@@ -300,7 +300,7 @@ void ast_ari_asterisk_unload_module(struct ast_variable *headers, ...@@ -300,7 +300,7 @@ void ast_ari_asterisk_unload_module(struct ast_variable *headers,
struct ast_ari_response *response) struct ast_ari_response *response)
{ {
int unload_result; int unload_result;
enum ast_module_unload_mode unload_mode = AST_FORCE_FIRM; enum ast_module_unload_mode unload_mode = AST_FORCE_SOFT;
ast_assert(response != NULL); ast_assert(response != NULL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment