fix shutdown crash
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9527 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
4db944c255
commit
23af87b4bd
|
@ -342,7 +342,9 @@ SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_console_shutdown)
|
|||
{
|
||||
|
||||
switch_log_unbind_logger(switch_console_logger);
|
||||
switch_core_hash_destroy(&log_hash);
|
||||
if (log_hash) {
|
||||
switch_core_hash_destroy(&log_hash);
|
||||
}
|
||||
|
||||
RUNNING = 0;
|
||||
return SWITCH_STATUS_UNLOAD;
|
||||
|
|
Loading…
Reference in New Issue