fix thinko in previous commit.

This commit is contained in:
nick_m 2016-12-23 23:24:54 +11:00
parent efacbb1485
commit 4c12df6cf3
1 changed files with 1 additions and 2 deletions

View File

@ -360,8 +360,7 @@ MidiGhostRegion::clear_events()
while (it != events.end()) {
delete (*it).second;
events.erase (it);
++it;
it = events.erase (it);
}
_optimization_iterator = events.end ();