mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-25 06:37:29 +01:00
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:
parent
f845bef8c6
commit
89e5954953
1 changed files with 9 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue