8b389ee8296f62d4a6e2541b366e6e24ee0c8bf4
365e3ef8e2 to be "more right"
NoteBase-derived note objects must delete their children, because often they are deleted long before the parent (group) is. However, in MidiView::clear_events() we used to call _note_group->clear (true) first, which would delete the canvas items owned by these objects, without them knowing about it. This made it dangerous for them to delete those same items in their destructors. This reverses the ordering so that NoteBase objects are deleted first (along with their canvas items) and after that we clear _note_group which will address any danging canvas items created there that are not owned by a NoteBase-derived object
Please see the Ardour web site at https://ardour.org/ for all documentation..
For information on building ardour:
https://ardour.org/development.html
Description
Languages
C++
56.5%
C
39.6%
JavaScript
1.3%
Lua
0.9%
Python
0.6%
Other
0.9%