Invalidate old sources before forgetting about them. I think this prevents the possi...
authorCarl Hetherington <carl@carlh.net>
Sun, 20 Jun 2010 01:33:16 +0000 (01:33 +0000)
committerCarl Hetherington <carl@carlh.net>
Sun, 20 Jun 2010 01:33:16 +0000 (01:33 +0000)
commit6c19e1c7eab9804c5b522f0e571abae82ac14c65
tree4c56d4a7034adbb0825a8e3ba324d1a2ce8b5239
parentaef9d4eaeb71ec58b7d3dbaed5195a6b1ae39655
Invalidate old sources before forgetting about them.  I think this prevents the possibility of an old source keeping a lock on the MidiModel via its iterator.  May fix #3249.

git-svn-id: svn://localhost/ardour2/branches/3.0@7280 d708f5d6-7413-0410-9779-e7cbd77b26cf
libs/ardour/ardour/midi_model.h
libs/ardour/midi_model.cc