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;
|
struct Library *DynLoadBase;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
extern struct Library *VorbisFileBase;
|
||||||
|
|
||||||
#ifndef CLIENTONLY
|
#ifndef CLIENTONLY
|
||||||
qboolean isDedicated;
|
qboolean isDedicated;
|
||||||
#endif
|
#endif
|
||||||
|
@ -31,6 +33,12 @@ static void Sys_Shutdown()
|
||||||
DynLoadBase = 0;
|
DynLoadBase = 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (VorbisFileBase)
|
||||||
|
{
|
||||||
|
CloseLibrary(VorbisFileBase);
|
||||||
|
VorbisFileBase = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Sys_Quit (void)
|
void Sys_Quit (void)
|
||||||
|
|
Loading…
Reference in a new issue