engine: server: free 64-bit string pool last when unloading library

This commit is contained in:
Alibek Omarov 2024-04-05 19:45:24 +03:00
parent 6881ee742d
commit fcd0982524
1 changed files with 2 additions and 2 deletions

View File

@ -5099,8 +5099,6 @@ void SV_UnloadProgs( void )
/// SV_UnloadProgs will be disabled
//Mod_ClearUserData ();
SV_FreeStringPool();
if( svgame.dllFuncs2.pfnGameShutdown != NULL )
svgame.dllFuncs2.pfnGameShutdown ();
@ -5121,6 +5119,8 @@ void SV_UnloadProgs( void )
Cvar_Unlink( FCVAR_EXTDLL );
Cmd_Unlink( CMD_SERVERDLL );
SV_FreeStringPool();
Mod_ResetStudioAPI ();
COM_FreeLibrary( svgame.hInstance );