diff options
Diffstat (limited to 'res/res_pktccops.c')
-rw-r--r-- | res/res_pktccops.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/res/res_pktccops.c b/res/res_pktccops.c index 837e0f5e1..037e533d3 100644 --- a/res/res_pktccops.c +++ b/res/res_pktccops.c @@ -1474,6 +1474,10 @@ static int load_module(void) } ast_cli_register_multiple(cli_pktccops, sizeof(cli_pktccops) / sizeof(struct ast_cli_entry)); restart_pktc_thread(); + + /* For Optional API. */ + ast_module_shutdown_ref(ast_module_info->self); + return 0; } |