]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_shared.c
Overhauled r_shadow_bouncegrid, it performs much faster, makes use of as many threads...
[xonotic/darkplaces.git] / sys_shared.c
index 2747cdd63bfdff7b09477f78d79ae64f599c94da..643d448514fb0f4b2c1d7f9610478a94583bdde3 100644 (file)
@@ -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);