From fc5143772be0ac7c17dd3b6b969373bc1e651389 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 16 Jun 2021 18:39:45 -0600 Subject: [PATCH] fix deadlock-inducing failure-to-thaw during region drag (no copy) --- gtk2_ardour/editor_drag.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index d9d3dfc8f5..4e8aa11b69 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -2075,6 +2075,12 @@ RegionMoveDrag::finished_no_copy ( } } + for (set >::iterator p = frozen_playlists.begin(); p != frozen_playlists.end(); ++p) { + (*p)->thaw(); + } + + _editor->do_ripple (_primary->region()->playlist(), extent_min, -drag_delta, &ripple_exclude, true); + /* If we've created new regions either by copying or moving to a new track, we want to replace the old selection with the new ones */