Unbind the reloadxml event on module shutdown

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11205 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Massimo Cetra 2009-01-14 23:13:28 +00:00
parent 0d5705d396
commit b9ec9f8e04
1 changed files with 2 additions and 0 deletions

View File

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