From 9ce02384c28bc52df413302a367f35c8f9321d9d Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Sun, 10 Jun 2012 19:31:42 -0400 Subject: [PATCH] Fix #169 Allow the execution of multiple internal clients. The crash that was observed before was fixed with the removal of pnAcLog. --- Sources/Plasma/Apps/plClient/winmain.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/Plasma/Apps/plClient/winmain.cpp b/Sources/Plasma/Apps/plClient/winmain.cpp index d669d351..c07f6ad3 100644 --- a/Sources/Plasma/Apps/plClient/winmain.cpp +++ b/Sources/Plasma/Apps/plClient/winmain.cpp @@ -1472,6 +1472,7 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int nC tempConsole.ExecuteFile(gipath); } +#ifdef PLASMA_EXTERNAL_RELEASE // If another instance is running, exit. We'll automatically release our // lock on the mutex when our process exits 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; } +#endif FILE *serverIniFile = _wfopen(serverIni, L"rb"); if (serverIniFile)