when destroying a MidiSource, invalidate any existing MidiCursors
(such as those held in a MidiPlaylist's RegionTrackers
This commit is contained in:
parent
f1571ab7ed
commit
c7168b387b
@ -80,6 +80,8 @@ MidiSource::MidiSource (Session& s, const XMLNode& node)
|
|||||||
|
|
||||||
MidiSource::~MidiSource ()
|
MidiSource::~MidiSource ()
|
||||||
{
|
{
|
||||||
|
/* invalidate any existing iterators */
|
||||||
|
Invalidated (false);
|
||||||
}
|
}
|
||||||
|
|
||||||
XMLNode&
|
XMLNode&
|
||||||
|
Loading…
Reference in New Issue
Block a user