diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-10-01 17:08:00 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-10-02 14:18:17 +0100 |
commit | fcfa0973c74c9d03020b6ea8c42a0362ccff791e (patch) | |
tree | 314bfd4ecf99142738d394d040f35160fe6770d7 /NEWS | |
parent | 05c0077c29a05d375ef543bc329ced29cb0259f2 (diff) | |
download | telepathy-glib-fcfa0973c74c9d03020b6ea8c42a0362ccff791e.tar.gz |
TpContact: avoid a race condition in avatar handling
We have to remember the avatar token synchronously, before we start
async-saving the cached file, so that we can't get into this
situation:
my avatar is token "A", bytes "AAAA..."
my avatar changes to token "B", bytes "BBBB..."
we start saving the file /.../B
my avatar changes to token "C", bytes "CCCC..."
saving the file /.../B finishes
change-notification announces that my avatar has changed to "B"
which is particularly problematic for Mission Control.
Regression in 0.21.2 (fd.o #63402).
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=70010
Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions