diff options
author | Ray Strode <halfline@gmail.com> | 2022-11-16 14:55:03 +0000 |
---|---|---|
committer | Ray Strode <halfline@gmail.com> | 2022-11-16 14:55:03 +0000 |
commit | b31936e6de64a0103d701623d781d0d389787c65 (patch) | |
tree | 5e391d14ae40f65701ed80e33011a16746b4b349 | |
parent | cf4b4ceb40ff9783c6f19a06bec824429568bfbd (diff) | |
parent | 709e1db83ebf8980f4367d548f12d25a69e77955 (diff) | |
download | gnome-online-accounts-b31936e6de64a0103d701623d781d0d389787c65.tar.gz |
Merge branch 'another-crack-at-locking' into 'master'
kerberos-identity: Ensure idles queued to main thread are property synchronized
Closes #160
See merge request GNOME/gnome-online-accounts!109
-rw-r--r-- | src/goaidentity/goakerberosidentity.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/goaidentity/goakerberosidentity.c b/src/goaidentity/goakerberosidentity.c index b72ce6a..695396b 100644 --- a/src/goaidentity/goakerberosidentity.c +++ b/src/goaidentity/goakerberosidentity.c @@ -520,7 +520,10 @@ typedef struct static void clear_idle_id (NotifyRequest *request) { + G_LOCK (identity_lock); *request->idle_id = 0; + G_UNLOCK (identity_lock); + g_object_unref (request->self); g_slice_free (NotifyRequest, request); } |