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

Added a method to BitArray, fixed a memory leak at shutdown on the mac, and tidied up some whitespace.

This commit is contained in:
jules 2009-01-28 16:30:56 +00:00
parent 2f5a2ad613
commit 013bc3016b
17 changed files with 3149 additions and 3098 deletions

View file

@ -62,11 +62,12 @@ MessageManager::MessageManager() throw()
MessageManager::~MessageManager() throw()
{
jassert (instance == this);
instance = 0;
deleteAndZero (broadcastListeners);
doPlatformSpecificShutdown();
jassert (instance == this);
instance = 0; // do this last in case this instance is still needed by doPlatformSpecificShutdown()
}
MessageManager* MessageManager::getInstance() throw()