1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-08 04:20:09 +00:00

Couple of small fixes for mac midi and win32 threads, and fixed a memory leak in the demo app.

This commit is contained in:
Julian Storer 2009-12-03 11:22:38 +00:00
parent d6e3576234
commit a8a602f7a2
4 changed files with 13 additions and 12 deletions

View file

@ -357,7 +357,7 @@ bool InterProcessLock::enter (const int timeOutMillisecs) throw()
{
if (reentrancyLevel++ == 0)
{
internal = CreateMutex (0, TRUE, name);
internal = CreateMutex (0, TRUE, "Global\\" + name);
if (internal != 0 && GetLastError() == ERROR_ALREADY_EXISTS)
{