13
0

Fix crash when freezing track

The freeze threads needs a thread-local tempo-map to call
Route::bounce_process which runs processors.
This commit is contained in:
Robin Gareus 2022-03-09 17:47:13 +01:00
parent 9cac17ea7d
commit 4048bcc6b6
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -4022,6 +4022,7 @@ Editor::_freeze_thread (void* arg)
void*
Editor::freeze_thread ()
{
TempoMap::SharedPtr tmap (TempoMap::fetch());
/* create event pool because we may need to talk to the session */
SessionEvent::create_per_thread_pool ("freeze events", 64);
/* create per-thread buffers for process() tree to use */