From 7ba817e36fb72c28077cc8143d14d2c09cd6addf Mon Sep 17 00:00:00 2001 From: Colin Fletcher Date: Mon, 17 Jun 2013 16:46:18 +0100 Subject: Amend comment to 'delete this' Amend comment to 'delete this' to describe why I think it's OK. --- gtk2_ardour/sfdb_freesound_mootcher.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/sfdb_freesound_mootcher.cc b/gtk2_ardour/sfdb_freesound_mootcher.cc index e6861cd1f4..8e57d9a0c4 100644 --- a/gtk2_ardour/sfdb_freesound_mootcher.cc +++ b/gtk2_ardour/sfdb_freesound_mootcher.cc @@ -340,7 +340,7 @@ Mootcher::doneWithMootcher() // update the sound info pane if the selection in the list box is still us sfb->refresh_display(ID, audioFileName); - delete this; // XXX is this a good idea? + delete this; // this should be OK to do as long as Progress and Finished signals are always received in the order in which they are emitted } static void * -- cgit v1.2.3