mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: server: fix server dll leak when no map was loaded
This commit is contained in:
parent
acffeb1dad
commit
5524aaae1e
@ -1091,6 +1091,8 @@ void SV_Shutdown( const char *finalmsg )
|
|||||||
// drop the client if want to load a new map
|
// drop the client if want to load a new map
|
||||||
if( CL_IsPlaybackDemo( ))
|
if( CL_IsPlaybackDemo( ))
|
||||||
CL_Drop();
|
CL_Drop();
|
||||||
|
|
||||||
|
SV_UnloadProgs ();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user