From 836229fd1a8e2c013d089105ebe0e12a790e0698 Mon Sep 17 00:00:00 2001 From: Jordan Bancino Date: Wed, 24 May 2023 23:32:53 +0000 Subject: [PATCH] Don't log anything at the end of main; user may have redirected and closeed stream. This would cause a segfault. --- Cytoplasm/src/RtStub.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/Cytoplasm/src/RtStub.c b/Cytoplasm/src/RtStub.c index f734df8..25c90e8 100644 --- a/Cytoplasm/src/RtStub.c +++ b/Cytoplasm/src/RtStub.c @@ -148,8 +148,6 @@ finish: HashMapFree(args.env); } - Log(LOG_DEBUG, "Exitting with code: %d", ret); - LogConfigFree(LogConfigGlobal()); StreamClose(StreamStdout());