From: Mathieu Rene Date: Wed, 8 Apr 2009 20:30:41 +0000 (+0000) Subject: Also unbind the reloadxml event handler on shutdown X-Git-Tag: v1.0.4~1232 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce0f2144874a04cbefa2d16b839c0efdb17bd891;p=thirdparty%2Ffreeswitch.git Also unbind the reloadxml event handler on shutdown git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12954 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_memcache/mod_memcache.c b/src/mod/applications/mod_memcache/mod_memcache.c index 31021530e2..a13e85d4d9 100755 --- a/src/mod/applications/mod_memcache/mod_memcache.c +++ b/src/mod/applications/mod_memcache/mod_memcache.c @@ -367,6 +367,9 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_memcache_shutdown) if (globals.memcached) { memcached_free(globals.memcached); } + + switch_event_unbind(&NODE); + return SWITCH_STATUS_SUCCESS; }