summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_timefx.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-06-02 19:42:45 +0000
committerCarl Hetherington <carl@carlh.net>2012-06-02 19:42:45 +0000
commit08d7dff3d98660af9acc0bd3ae143b73aeb80aa9 (patch)
tree6fb1e673344b5d05ab62fb282afd8912db1babf0 /gtk2_ardour/editor_timefx.cc
parente5024657fc5970691c7d8f89c49a7bb9895e1b04 (diff)
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
Diffstat (limited to 'gtk2_ardour/editor_timefx.cc')
-rw-r--r--gtk2_ardour/editor_timefx.cc2
1 files changed, 2 insertions, 0 deletions
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;
}