summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/kiro-server.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/kiro-server.c b/src/kiro-server.c
index 52304c8..6b63fcc 100644
--- a/src/kiro-server.c
+++ b/src/kiro-server.c
@@ -74,7 +74,10 @@ static void kiro_server_init (KiroServer *self)
static void
kiro_server_finalize (GObject *object)
{
- //PASS
+ KiroServer *self = KIRO_SERVER(object);
+ KiroServerPrivate *priv = KIRO_SERVER_GET_PRIVATE(self);
+ pthread_mutex_unlock(&(priv->mtx));
+ pthread_join(priv->event_listener, NULL);
}