diff options
Diffstat (limited to 'res/res_http_websocket.c')
-rw-r--r-- | res/res_http_websocket.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/res/res_http_websocket.c b/res/res_http_websocket.c index f49a3573e..2baccc052 100644 --- a/res/res_http_websocket.c +++ b/res/res_http_websocket.c @@ -1439,6 +1439,9 @@ static int load_module(void) ast_http_uri_link(&websocketuri); websocket_add_protocol_internal("echo", websocket_echo_callback); + /* For Optional API. */ + ast_module_shutdown_ref(ast_module_info->self); + return 0; } |