From: havoc Date: Tue, 22 May 2007 20:17:21 +0000 (+0000) Subject: call FS_ClearSearchPath in FS_Shutdown X-Git-Tag: xonotic-v0.1.0preview~3115 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=13e9113e9ac1bd141c8dad9fe8c41e46d4549f9f;p=xonotic%2Fdarkplaces.git call FS_ClearSearchPath in FS_Shutdown git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7341 d7cf8633-e32d-0410-b094-e92efae38249 --- 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); }