set flag to allow forced unload of a running VM
required to prevent a client from exiting if the server disconnects (bug 3585)
This commit is contained in:
parent
8bcb33892e
commit
43ac1eca6a
3 changed files with 21 additions and 2 deletions
|
@ -277,7 +277,9 @@ void QDECL Com_Error( int code, const char *fmt, ... ) {
|
|||
|
||||
if (code == ERR_DISCONNECT || code == ERR_SERVERDISCONNECT) {
|
||||
CL_Disconnect( qtrue );
|
||||
VM_Forced_Unload_Start();
|
||||
CL_FlushMemory( );
|
||||
VM_Forced_Unload_Done();
|
||||
// make sure we can get at our local stuff
|
||||
FS_PureServerSetLoadedPaks("", "");
|
||||
com_errorEntered = qfalse;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue