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
This commit is contained in:
parent
0eee85f43b
commit
bcb2f4f123
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user