From 6972b09116f0a34e258199bff2efc68c9c4266f5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 8 Sep 2011 17:48:58 +0000 Subject: Delete RouteUI immediately on request, rather than in an idle loop. The idle loop bit is thought to be a hangover from A2, and it causes #4315 because the deleted ARDOUR::Route requests its references to be dropped but its TimeAxisView hangs around for too long. git-svn-id: svn://localhost/ardour2/branches/3.0@10066 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/route_ui.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gtk2_ardour') diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index fc9d878b83..90de21d854 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -172,9 +172,7 @@ RouteUI::reset () void RouteUI::self_delete () { - /* This may be called from a non-GUI thread. Keep it safe */ - - delete_when_idle (this); + delete this; } void -- cgit v1.2.3