Skip to content
Snippets Groups Projects
Commit e31e3b58 authored by Jenkins2's avatar Jenkins2 Committed by Gerrit Code Review
Browse files

Merge "res_smdi: Fix shutdown ref." into 13

parents ccb563d3 8165115f
Branches
Tags
No related merge requests found
...@@ -1407,6 +1407,9 @@ static int load_module(void) ...@@ -1407,6 +1407,9 @@ static int load_module(void)
ast_custom_function_register(&smdi_msg_retrieve_function); ast_custom_function_register(&smdi_msg_retrieve_function);
ast_custom_function_register(&smdi_msg_function); ast_custom_function_register(&smdi_msg_function);
/* For Optional API. */
ast_module_shutdown_ref(ast_module_info->self);
return AST_MODULE_LOAD_SUCCESS; return AST_MODULE_LOAD_SUCCESS;
} }
...@@ -1436,9 +1439,6 @@ static int _unload_module(int fromload) ...@@ -1436,9 +1439,6 @@ static int _unload_module(int fromload)
smdi_loaded = 0; smdi_loaded = 0;
/* For Optional API. */
ast_module_shutdown_ref(ast_module_info->self);
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment