Prefer implicit deletion of .pending
authorRobin Gareus <robin@gareus.org>
Thu, 15 Aug 2019 23:55:54 +0000 (01:55 +0200)
committerRobin Gareus <robin@gareus.org>
Thu, 15 Aug 2019 23:55:54 +0000 (01:55 +0200)
Session destruction removes ".pending", no need to explicitly delete
the file.

gtk2_ardour/ardour_ui.cc

index 71b7c80b9f8977578fd3f398a13205902b948560..fcccca3fe6627c1084da2f62091cbf410fbcb4c9 100644 (file)
@@ -1456,7 +1456,6 @@ If you still wish to quit, please use the\n\n\
 
        if (_session) {
                _session->set_clean ();
-               _session->remove_pending_capture_state ();
                delete _session;
                _session = 0;
        }