ref: 064398f0c16f776f858526a5eed00c35fbf46f4b
parent: 0f798c2472b636e6b6a4864cc6110087f8067cf0
author: Jacob Moody <moody@posixcafe.org>
date: Mon Jan 23 21:52:25 EST 2023
safety cleanup net
--- a/i_main.c
+++ b/i_main.c
@@ -8,5 +8,6 @@
{
myargc = argc;
myargv = argv;
+ rfork(RFNOTEG);
D_DoomMain ();
}
--- a/i_system.c
+++ b/i_system.c
@@ -43,6 +43,7 @@
I_ShutdownSound();
M_SaveDefaults ();
I_ShutdownGraphics();
+ postnote(PNGROUP, getpid(), "I_Quit");
exits(nil);
}