X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=sys_shared.c;h=643d448514fb0f4b2c1d7f9610478a94583bdde3;hp=2747cdd63bfdff7b09477f78d79ae64f599c94da;hb=ed17b0043966690a70381680a95b0e51891efa40;hpb=0c38a45ad8a3f7e14631f17983a7fcd5239309c2 diff --git a/sys_shared.c b/sys_shared.c index 2747cdd6..643d4485 100644 --- a/sys_shared.c +++ b/sys_shared.c @@ -47,6 +47,7 @@ void Sys_Quit (int returnvalue) // Unlock mutexes because the quit command may jump directly here, causing a deadlock Cbuf_UnlockThreadMutex(); SV_UnlockThreadMutex(); + TaskQueue_Frame(true); if (COM_CheckParm("-profilegameonly")) Sys_AllowProfiling(false);