[Asterisk-code-review] ARI: Fixed unload mode for unload module. (asterisk[13])

Benjamin Keith Ford asteriskteam at digium.com
Wed Jul 15 10:33:38 CDT 2015


Benjamin Keith Ford has uploaded a new change for review.

  https://gerrit.asterisk.org/892

Change subject: ARI: Fixed unload mode for unload module.
......................................................................

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
---
M res/ari/resource_asterisk.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/92/892/1

diff --git a/res/ari/resource_asterisk.c b/res/ari/resource_asterisk.c
index 4c2948d..6fabb20 100644
--- a/res/ari/resource_asterisk.c
+++ b/res/ari/resource_asterisk.c
@@ -300,7 +300,7 @@
 	struct ast_ari_response *response)
 {
 	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);
 

-- 
To view, visit https://gerrit.asterisk.org/892
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If2402487b5bce05d9770f25f65f5c8e292ad5533
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Benjamin Keith Ford <bford at digium.com>



More information about the asterisk-code-review mailing list