mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-04 19:31:56 +00:00
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:
+1
-1
@@ -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);
|
||||
runtime.console = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user