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

removed a memory leak in mac messaging; tweaked mac VSTs to avoid a shutdown bug in Reaper; added a clear() method to DynamicObject.

This commit is contained in:
jules 2009-08-19 12:04:35 +00:00
parent eb32240e95
commit f5a3fb0fb3
8 changed files with 493 additions and 485 deletions

View file

@ -429,4 +429,10 @@ void DynamicObject::setMethod (const var::identifier& name,
setProperty (name, methodFunction);
}
void DynamicObject::clear()
{
propertyIds.clear();
propertyValues.clear();
}
END_JUCE_NAMESPACE

View file

@ -231,6 +231,10 @@ public:
void setMethod (const var::identifier& methodName,
var::MethodFunction methodFunction);
//==============================================================================
/** Removes all properties and methods from the object. */
void clear();
//==============================================================================
juce_UseDebuggingNewOperator