[anjuta/libgit2-glib] libanjuta/anjuta-async-task: Fix a deadlock



commit f73934458299697dd223e7672b3ab03c735026e5
Author: James Liggett <jrliggett cox net>
Date:   Wed Jul 17 20:12:03 2013 -0700

    libanjuta/anjuta-async-task: Fix a deadlock

 libanjuta/anjuta-async-task.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libanjuta/anjuta-async-task.c b/libanjuta/anjuta-async-task.c
index 4d8e589..e078f6a 100644
--- a/libanjuta/anjuta-async-task.c
+++ b/libanjuta/anjuta-async-task.c
@@ -95,7 +95,7 @@ anjuta_async_task_set_flag (AnjutaAsyncTask *self, gint flag)
 
        self->priv->flags |= flag;
 
-       g_mutex_lock (&self->priv->flags_mutex);
+       g_mutex_unlock (&self->priv->flags_mutex);
 }
 
 static void


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