From bb5fb780ce1e25c17d947ccf35a6754cb8b53b88 Mon Sep 17 00:00:00 2001 From: danij Date: Sun, 15 Jan 2012 01:49:48 +0000 Subject: [PATCH] Busy Mode|Fixed: Failed to destroy mutex upon completion --- doomsday/engine/portable/src/con_busy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/doomsday/engine/portable/src/con_busy.c b/doomsday/engine/portable/src/con_busy.c index 2ae214df58..e30ef8230e 100644 --- a/doomsday/engine/portable/src/con_busy.c +++ b/doomsday/engine/portable/src/con_busy.c @@ -202,6 +202,7 @@ int Con_Busy(int flags, const char* taskName, busyworkerfunc_t worker, // Make sure the worker finishes before we continue. result = Sys_WaitThread(busyThread); busyThread = NULL; + Sys_DestroyMutex(busy_Mutex); busyInited = false; // Make sure that any remaining deferred content gets uploaded.