GUI-created MIDI regions now steal the pending MIDISource from the track's diskstream...
[ardour.git] / libs / pbd / undo.cc
index 120f62c3512c78d263ae48a3aa6e9990b6eea30b..71a5d1e2637aa71da846fe30b9d21486419f2278 100644 (file)
@@ -47,6 +47,7 @@ UndoTransaction::UndoTransaction (const UndoTransaction& rhs)
 
 UndoTransaction::~UndoTransaction ()
 {
+        cerr << "UndoTransaction destroyed\n";
        drop_references ();
        clear ();
 }
@@ -54,6 +55,8 @@ UndoTransaction::~UndoTransaction ()
 void 
 command_death (UndoTransaction* ut, Command* c)
 {
+        cerr << "Command drop ref\n";
+
        if (ut->clearing()) {
                return;
        }