mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 09:58:17 +00:00
unset logger on global destroy
This commit is contained in:
@@ -5829,6 +5829,8 @@ FT_DECLARE(ftdm_status_t) ftdm_global_destroy(void)
|
|||||||
/* destroy signaling and io modules */
|
/* destroy signaling and io modules */
|
||||||
ftdm_unload_modules();
|
ftdm_unload_modules();
|
||||||
|
|
||||||
|
ftdm_global_set_logger( NULL );
|
||||||
|
|
||||||
/* finally destroy the globals */
|
/* finally destroy the globals */
|
||||||
ftdm_mutex_lock(globals.mutex);
|
ftdm_mutex_lock(globals.mutex);
|
||||||
ftdm_sched_destroy(&globals.timingsched);
|
ftdm_sched_destroy(&globals.timingsched);
|
||||||
|
Reference in New Issue
Block a user