mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
Release the mutex if we go dedicated.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3453 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
eed5e36382
commit
acc77b4f36
1 changed files with 8 additions and 0 deletions
|
@ -1033,6 +1033,14 @@ qboolean Sys_InitTerminal (void)
|
||||||
if (!AllocConsole())
|
if (!AllocConsole())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
#ifndef SERVERONLY
|
||||||
|
if (qwclsemaphore)
|
||||||
|
{
|
||||||
|
CloseHandle(qwclsemaphore);
|
||||||
|
qwclsemaphore = NULL;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
//if we still have the splash screen, kill it
|
//if we still have the splash screen, kill it
|
||||||
if (hwnd_dialog)
|
if (hwnd_dialog)
|
||||||
DestroyWindow(hwnd_dialog);
|
DestroyWindow(hwnd_dialog);
|
||||||
|
|
Loading…
Reference in a new issue