cross-thread handling of SessionEvent allocation/deallocation, with widespread conseq...
[ardour.git] / gtk2_ardour / editor_ops.cc
index fe003d231c869c602608605ad79f49663572d2a4..3b60f3c903946fb436408809d4058d536b2031c6 100644 (file)
@@ -3653,6 +3653,8 @@ void*
 Editor::_freeze_thread (void* arg)
 {
        PBD::notify_gui_about_thread_creation (pthread_self(), X_("Freeze"));
+       SessionEvent::create_per_thread_pool ("freeze events", 64);
+
        return static_cast<Editor*>(arg)->freeze_thread ();
 }