mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-25 21:31:37 +00:00
Close vorbisfile.library on exit.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2346 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
bab511721b
commit
85abc8a042
1 changed files with 8 additions and 0 deletions
|
@ -18,6 +18,8 @@ int __stack = 4*1024*1024;
|
|||
struct Library *DynLoadBase;
|
||||
#endif
|
||||
|
||||
extern struct Library *VorbisFileBase;
|
||||
|
||||
#ifndef CLIENTONLY
|
||||
qboolean isDedicated;
|
||||
#endif
|
||||
|
@ -31,6 +33,12 @@ static void Sys_Shutdown()
|
|||
DynLoadBase = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (VorbisFileBase)
|
||||
{
|
||||
CloseLibrary(VorbisFileBase);
|
||||
VorbisFileBase = 0;
|
||||
}
|
||||
}
|
||||
|
||||
void Sys_Quit (void)
|
||||
|
|
Loading…
Reference in a new issue