Add a method to clear ImportStatus arrays

This is in preparation to fix a
 "SessionHandleRef exists across session deletion"
error.
This commit is contained in:
Robin Gareus 2020-02-25 02:35:25 +01:00
parent f845bef8c6
commit 89e5954953
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -34,6 +34,15 @@ namespace ARDOUR {
class LIBARDOUR_API ImportStatus : public InterThreadInfo {
public:
virtual ~ImportStatus() {
clear ();
}
virtual void clear () {
sources.clear ();
paths.clear ();
}
std::string doing_what;
/* control info */