Fix LTC encoder removal
authorRobin Gareus <robin@gareus.org>
Tue, 1 Aug 2017 15:48:42 +0000 (17:48 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 1 Aug 2017 15:48:42 +0000 (17:48 +0200)
commit9694986a85da8e7d18e9003e3706939bf4e34097
treec1339788e218a3489563a9da5f0d8c1c1c7ebcf6
parent79dc3882ea6dfd5ce2e1bf47e26ec98d2b8b2486
Fix LTC encoder removal

Fixed a crash if an x-run or graph-reorder happens after the LTC encoder
has been destroyed (possible at session-close or after disabling
the encoder).  This also fixes duplicate callbacks in case the
encoder was re-enabled times in an active session.
libs/ardour/ardour/session.h
libs/ardour/session_ltc.cc