summaryrefslogtreecommitdiff
path: root/res/ari
diff options
context:
space:
mode:
authorBenjamin Ford <bford@digium.com>2015-07-15 10:28:00 -0500
committerBenjamin Keith Ford <bford@digium.com>2015-07-15 10:33:53 -0500
commite01d93e092247c607c0acb080105c6c1cceb5187 (patch)
treebabebdfdee4d6b66ee71846457666a6cc896ae46 /res/ari
parentb188eb788d423ae225df0cce793bf96ae438a571 (diff)
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
Diffstat (limited to 'res/ari')
-rw-r--r--res/ari/resource_asterisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/ari/resource_asterisk.c b/res/ari/resource_asterisk.c
index e76179131..569013f85 100644
--- a/res/ari/resource_asterisk.c
+++ b/res/ari/resource_asterisk.c
@@ -300,7 +300,7 @@ void ast_ari_asterisk_unload_module(struct ast_variable *headers,
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);