Speculative fix for timefx add_command calls happening after
authorCarl Hetherington <carl@carlh.net>
Sat, 2 Jun 2012 19:42:45 +0000 (19:42 +0000)
committerCarl Hetherington <carl@carlh.net>
Sat, 2 Jun 2012 19:42:45 +0000 (19:42 +0000)
the commit_reversible command (#4864 and duplicates).

git-svn-id: svn://localhost/ardour2/branches/3.0@12548 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/editor_timefx.cc

index b942f04ccab67c29e2a5354854e297e88195556a..2f0b09ed17a36f4d22b3990c30b6a47f027e1a9c 100644 (file)
@@ -308,6 +308,8 @@ Editor::time_fx (RegionList& regions, float val, bool pitching)
                gtk_main_iteration ();
        }
 
+       pthread_join (current_timefx->request.thread, 0);
+
        current_timefx->hide ();
        return current_timefx->status;
 }