mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-15 11:29:56 +00:00
unset logger on global destroy
This commit is contained in:
parent
61fe806c0a
commit
972504a3ca
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user