mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-02 12:41:40 +00:00
Close packetlog file on exit...
This commit is contained in:
parent
c6a06f6dc6
commit
92b7f5f8f0
2 changed files with 9 additions and 0 deletions
|
@ -62,6 +62,11 @@ Sys_Quit (void)
|
||||||
{
|
{
|
||||||
Host_Shutdown ();
|
Host_Shutdown ();
|
||||||
fcntl (0, F_SETFL, fcntl (0, F_GETFL, 0) & ~O_NONBLOCK);
|
fcntl (0, F_SETFL, fcntl (0, F_GETFL, 0) & ~O_NONBLOCK);
|
||||||
|
|
||||||
|
#ifdef PACKET_LOGGING
|
||||||
|
Net_LogStop();
|
||||||
|
#endif
|
||||||
|
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -258,6 +258,10 @@ Sys_Quit (void)
|
||||||
if (qwclsemaphore)
|
if (qwclsemaphore)
|
||||||
CloseHandle (qwclsemaphore);
|
CloseHandle (qwclsemaphore);
|
||||||
|
|
||||||
|
#ifdef PACKET_LOGGING
|
||||||
|
Net_LogStop();
|
||||||
|
#endif
|
||||||
|
|
||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue