From 89cb571af9aaa1eb3a18bd4e9e17fa42f0d5c388 Mon Sep 17 00:00:00 2001 From: Seven Du Date: Tue, 9 Nov 2021 16:10:07 +0800 Subject: [PATCH] [mod_vmd] fix shutdown function not being called --- src/mod/applications/mod_vmd/mod_vmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_vmd/mod_vmd.c b/src/mod/applications/mod_vmd/mod_vmd.c index 71a2dc3bc9..a4a0917404 100644 --- a/src/mod/applications/mod_vmd/mod_vmd.c +++ b/src/mod/applications/mod_vmd/mod_vmd.c @@ -123,7 +123,7 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_vmd_shutdown); SWITCH_STANDARD_API(vmd_api_main); SWITCH_MODULE_LOAD_FUNCTION(mod_vmd_load); -SWITCH_MODULE_DEFINITION(mod_vmd, mod_vmd_load, NULL, NULL); +SWITCH_MODULE_DEFINITION(mod_vmd, mod_vmd_load, mod_vmd_shutdown, NULL); SWITCH_STANDARD_APP(vmd_start_function); /*! Type that holds state information about the beep. */