don't blow up on shutdown in -nc mode.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6560 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
6bad7635dd
commit
46f2418092
|
@ -999,7 +999,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_destroy(void)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (runtime.console != stdout && runtime.console != stderr) {
|
if (runtime.console && runtime.console != stdout && runtime.console != stderr) {
|
||||||
fclose(runtime.console);
|
fclose(runtime.console);
|
||||||
runtime.console = NULL;
|
runtime.console = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue