mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 18:59:09 +00:00
Fix #169
Allow the execution of multiple internal clients. The crash that was observed before was fixed with the removal of pnAcLog.
This commit is contained in:
@ -1472,6 +1472,7 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int nC
|
|||||||
tempConsole.ExecuteFile(gipath);
|
tempConsole.ExecuteFile(gipath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef PLASMA_EXTERNAL_RELEASE
|
||||||
// If another instance is running, exit. We'll automatically release our
|
// If another instance is running, exit. We'll automatically release our
|
||||||
// lock on the mutex when our process exits
|
// lock on the mutex when our process exits
|
||||||
HANDLE hOneInstance = CreateMutex(nil, FALSE, "UruExplorer");
|
HANDLE hOneInstance = CreateMutex(nil, FALSE, "UruExplorer");
|
||||||
@ -1498,6 +1499,7 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int nC
|
|||||||
}
|
}
|
||||||
return PARABLE_NORMAL_EXIT;
|
return PARABLE_NORMAL_EXIT;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
FILE *serverIniFile = _wfopen(serverIni, L"rb");
|
FILE *serverIniFile = _wfopen(serverIni, L"rb");
|
||||||
if (serverIniFile)
|
if (serverIniFile)
|
||||||
|
Reference in New Issue
Block a user