From 08d7dff3d98660af9acc0bd3ae143b73aeb80aa9 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 2 Jun 2012 19:42:45 +0000 Subject: Speculative fix for timefx add_command calls happening after 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 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk2_ardour/editor_timefx.cc') diff --git a/gtk2_ardour/editor_timefx.cc b/gtk2_ardour/editor_timefx.cc index b942f04cca..2f0b09ed17 100644 --- a/gtk2_ardour/editor_timefx.cc +++ b/gtk2_ardour/editor_timefx.cc @@ -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; } -- cgit v1.2.3