[telepathy-mission-control/master] Remove wrong call

Alberto Mardegan alberto.mardegan at nokia.com
Thu May 7 09:31:05 PDT 2009


That code can cause a crash if the incoming channel is deleted before the
handler is called: the context must not be implicitly destroyed.
---
 src/mcd-dispatcher.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index bc21e8c..29f7447 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -1331,7 +1331,6 @@ on_operation_finished (McdDispatchOperation *operation,
     if (context->channels == NULL)
     {
         DEBUG ("Nothing left to dispatch");
-        mcd_dispatcher_context_handler_done (context);
     }
     else if (mcd_dispatch_operation_is_claimed (operation))
     {
-- 
1.5.6.5




More information about the telepathy-commits mailing list