]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Unbind the reloadxml event on module shutdown
authorMassimo Cetra <ctrix+fs@navynet.it>
Wed, 14 Jan 2009 23:13:28 +0000 (23:13 +0000)
committerMassimo Cetra <ctrix+fs@navynet.it>
Wed, 14 Jan 2009 23:13:28 +0000 (23:13 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11205 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_fax/mod_fax.c

index 0b7374afa8d895e111961de429c0b998816b4bfb..517c86f41a87c9f50f62835425e111abd913f6e1 100644 (file)
@@ -808,6 +808,8 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_fax_shutdown)
 {
        switch_memory_pool_t *pool = globals.pool;
 
+       switch_event_unbind(&NODE);
+
        switch_core_destroy_memory_pool(&pool);
        memset(&globals, 0, sizeof(globals));