diff options
Diffstat (limited to 'res/res_statsd.c')
-rw-r--r-- | res/res_statsd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/res/res_statsd.c b/res/res_statsd.c index 3d7dd1684..aee0bcd5a 100644 --- a/res/res_statsd.c +++ b/res/res_statsd.c @@ -353,6 +353,9 @@ static int load_module(void) return AST_MODULE_LOAD_DECLINE; } + /* For Optional API. */ + ast_module_shutdown_ref(AST_MODULE_SELF); + return AST_MODULE_LOAD_SUCCESS; } |