forked from Telodendria/Telodendria
Don't log anything at the end of main; user may have redirected and closeed stream.
This would cause a segfault.
This commit is contained in:
parent
2693b89598
commit
836229fd1a
1 changed files with 0 additions and 2 deletions
|
@ -148,8 +148,6 @@ finish:
|
||||||
HashMapFree(args.env);
|
HashMapFree(args.env);
|
||||||
}
|
}
|
||||||
|
|
||||||
Log(LOG_DEBUG, "Exitting with code: %d", ret);
|
|
||||||
|
|
||||||
LogConfigFree(LogConfigGlobal());
|
LogConfigFree(LogConfigGlobal());
|
||||||
|
|
||||||
StreamClose(StreamStdout());
|
StreamClose(StreamStdout());
|
||||||
|
|
Loading…
Reference in a new issue