Browse Source

engine: server: fix server dll leak when no map was loaded

pull/2/head
Alibek Omarov 2 years ago
parent
commit
5524aaae1e
  1. 2
      engine/server/sv_main.c

2
engine/server/sv_main.c

@ -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…
Cancel
Save