Merge "res_pjsip_refer: Prevent unload except during shutdown."

This commit is contained in:
Joshua Colp 2017-10-19 07:24:59 -05:00 committed by Gerrit Code Review
commit eb59d80782
1 changed files with 2 additions and 0 deletions

View File

@ -1211,6 +1211,8 @@ static int load_module(void)
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;
}