]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
unset logger on global destroy
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 2 Apr 2012 20:00:35 +0000 (15:00 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 2 Apr 2012 20:00:35 +0000 (15:00 -0500)
libs/freetdm/src/ftdm_io.c

index fa62f5b425011f4617e747b51906677027502685..caab35143af12b67e5cb723b6a59a0a1a0bae497 100644 (file)
@@ -5829,6 +5829,8 @@ FT_DECLARE(ftdm_status_t) ftdm_global_destroy(void)
        /* destroy signaling and io modules */
        ftdm_unload_modules();
 
+       ftdm_global_set_logger( NULL );
+
        /* finally destroy the globals */
        ftdm_mutex_lock(globals.mutex);
        ftdm_sched_destroy(&globals.timingsched);