Don't add standard processors twice to routes from 2.X sessions. Fixes #3434.
[ardour.git] / libs / pbd / sndfile_manager.cc
index c6a52416ed44bbf3231739c5797fcded4b867ae8..5f08e634d68592ef07a4e9663992982c342c07be 100644 (file)
@@ -69,6 +69,7 @@ SndFileDescriptor::close ()
 {
        /* we must have a lock on the FileManager's mutex */
 
+       assert (_sndfile);
        sf_close (_sndfile);
        _sndfile = 0;
 }