[asterisk-commits] ARI: Fixed unload mode for unload module. (asterisk[master])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jul 15 10:49:39 CDT 2015


Joshua Colp 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:
  Matt Jordan: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved; Verified



diff --git a/res/ari/resource_asterisk.c b/res/ari/resource_asterisk.c
index e761791..569013f 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/893
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If2402487b5bce05d9770f25f65f5c8e292ad5533
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>



More information about the asterisk-commits mailing list