From 13e9113e9ac1bd141c8dad9fe8c41e46d4549f9f Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 22 May 2007 20:17:21 +0000 Subject: [PATCH] call FS_ClearSearchPath in FS_Shutdown git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7341 d7cf8633-e32d-0410-b094-e92efae38249 --- fs.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fs.c b/fs.c index 916bb960..40ec10a6 100644 --- a/fs.c +++ b/fs.c @@ -1404,6 +1404,10 @@ FS_Shutdown */ void FS_Shutdown (void) { + // close all pack files and such + // (hopefully there aren't any other open files, but they'll be cleaned up + // by the OS anyway) + FS_ClearSearchPath(); Mem_FreePool (&fs_mempool); } -- 2.39.2