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

Mark Michelson asteriskteam at digium.com
Wed Jul 15 10:44:08 CDT 2015


Mark Michelson has submitted this change and it was merged.

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(-)

Approvals:
  Mark Michelson: Looks good to me, approved
  Anonymous Coward #1000019: Verified
  Matt Jordan: Looks good to me, but someone else must approve



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: merged
Gerrit-Change-Id: If2402487b5bce05d9770f25f65f5c8e292ad5533
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>



More information about the asterisk-code-review mailing list