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:
parent
eb32240e95
commit
f5a3fb0fb3
8 changed files with 493 additions and 485 deletions
|
|
@ -429,4 +429,10 @@ void DynamicObject::setMethod (const var::identifier& name,
|
|||
setProperty (name, methodFunction);
|
||||
}
|
||||
|
||||
void DynamicObject::clear()
|
||||
{
|
||||
propertyIds.clear();
|
||||
propertyValues.clear();
|
||||
}
|
||||
|
||||
END_JUCE_NAMESPACE
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue