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

Small tweaks to InterprocessLock. Jucer development.

This commit is contained in:
Julian Storer 2010-04-14 10:46:23 +01:00
parent 9d5954c08d
commit 5673b7ed5d
16 changed files with 750 additions and 183 deletions

View file

@ -418,6 +418,9 @@ void InterProcessLock::exit()
{
const ScopedLock sl (lock);
// Trying to release the lock too many times!
jassert (pimpl != 0);
if (pimpl != 0 && --(pimpl->refCount) == 0)
pimpl = 0;
}