Allow to overload drop_references()
This is useful in cases where an object owns child objects which in turn hold a reference to the parent. In this case PluginInsert has-a Plugin, which may have a reference to the insert or the Route.
This commit is contained in:
parent
bfccf7ba18
commit
c2618903ae
@ -32,7 +32,7 @@ class LIBPBD_API Destructible {
|
||||
PBD::Signal0<void> Destroyed;
|
||||
PBD::Signal0<void> DropReferences;
|
||||
|
||||
void drop_references () { DropReferences(); }
|
||||
virtual void drop_references () { DropReferences(); }
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user