diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-04-19 12:49:55 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-04-19 12:49:55 +0000 |
commit | bcb2f4f12392739279634772570d38492ded23f7 (patch) | |
tree | 52eff3734e5ac484ad89740186c59e2548daca0d /gtk2_ardour/editor_ops.cc | |
parent | 0eee85f43b2435277c7cccda8e5145761bcb98a8 (diff) |
fix freeze operation crashes by obtaining process buffers in freeze thread (and then dropping them) rather than just setting up the per-thread object that stores them
git-svn-id: svn://localhost/ardour2/branches/3.0@12029 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r-- | gtk2_ardour/editor_ops.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index fdca009185..6b48311b15 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -3393,9 +3393,10 @@ Editor::freeze_thread () SessionEvent::create_per_thread_pool ("freeze events", 64); /* create per-thread buffers for process() tree to use */ current_interthread_info->process_thread.init (); - + current_interthread_info->process_thread.get_buffers (); clicked_routeview->audio_track()->freeze_me (*current_interthread_info); current_interthread_info->done = true; + current_interthread_info->process_thread.drop_buffers(); return 0; } |