[Asterisk-code-review] res pjsip refer: Prevent unload except during shutdown. (asterisk[15])
Joshua Colp
asteriskteam at digium.com
Thu Oct 19 07:33:58 CDT 2017
Joshua Colp has submitted this change and it was merged. ( https://gerrit.asterisk.org/6831 )
Change subject: res_pjsip_refer: Prevent unload except during shutdown.
......................................................................
res_pjsip_refer: Prevent unload except during shutdown.
Prevent unload of the module as certain pjsip initialization functions
cannot be reversed.
ASTERISK-24483
Change-Id: I94597ec8b8491f5af9c57bf66dbc3b078fe2d49d
---
M res/res_pjsip_refer.c
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
Kevin Harwell: Looks good to me, but someone else must approve
Joshua Colp: Looks good to me, approved; Approved for Submit
diff --git a/res/res_pjsip_refer.c b/res/res_pjsip_refer.c
index 456e09d..62f8b67 100644
--- a/res/res_pjsip_refer.c
+++ b/res/res_pjsip_refer.c
@@ -1211,6 +1211,8 @@
ast_sip_register_service(&refer_progress_module);
ast_sip_session_register_supplement(&refer_supplement);
+ ast_module_shutdown_ref(ast_module_info->self);
+
return AST_MODULE_LOAD_SUCCESS;
}
--
To view, visit https://gerrit.asterisk.org/6831
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: merged
Gerrit-Change-Id: I94597ec8b8491f5af9c57bf66dbc3b078fe2d49d
Gerrit-Change-Number: 6831
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171019/5aae40bd/attachment.html>
More information about the asterisk-code-review
mailing list