From: Seven Du Date: Tue, 9 Nov 2021 08:10:07 +0000 (+0800) Subject: [mod_vmd] fix shutdown function not being called X-Git-Tag: v1.10.8^2~104^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=89cb571af9aaa1eb3a18bd4e9e17fa42f0d5c388;p=thirdparty%2Ffreeswitch.git [mod_vmd] fix shutdown function not being called --- 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. */