summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-09-08 17:48:58 +0000
committerCarl Hetherington <carl@carlh.net>2011-09-08 17:48:58 +0000
commit6972b09116f0a34e258199bff2efc68c9c4266f5 (patch)
tree18409d939500ad65ffb4beb5a4db33c08683b1c1 /gtk2_ardour
parentf744c8ac933bfad11f9e54edfdacc5fb89ced119 (diff)
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
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/route_ui.cc4
1 files changed, 1 insertions, 3 deletions
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