engine: server: fix server dll leak when no map was loaded
This commit is contained in:
parent
acffeb1dad
commit
5524aaae1e
1 changed files with 2 additions and 0 deletions
|
@ -1091,6 +1091,8 @@ void SV_Shutdown( const char *finalmsg )
|
|||
// drop the client if want to load a new map
|
||||
if( CL_IsPlaybackDemo( ))
|
||||
CL_Drop();
|
||||
|
||||
SV_UnloadProgs ();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue