[empathy] Remove outstanding operations before dispatching them



commit 08fb04d03b17c44e401d89cfd0e957c41cdf3b56
Author: Will Thompson <will thompson collabora co uk>
Date:   Tue Jun 9 11:29:07 2009 +0100

    Remove outstanding operations before dispatching them
    
    Fixes #585231
---
 libempathy/empathy-dispatcher.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index 0f9cc77..b51df95 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -532,8 +532,8 @@ dispatcher_flush_outstanding_operations (EmpathyDispatcher *self,
 
       if (dispatcher_operation_can_start (self, operation, cd))
         {
-          dispatcher_start_dispatching (dispatcher, operation, cd);
           g_hash_table_iter_remove (&iter);
+          dispatcher_start_dispatching (dispatcher, operation, cd);
         }
     }
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]