Bug 665728 — prepare() isn't mutually exclusive inside a single thread
authorPhilip Withnall <philip@tecnocode.co.uk>
Thu, 8 Dec 2011 14:54:29 +0000 (14:54 +0000)
committerPhilip Withnall <philip@tecnocode.co.uk>
Fri, 9 Dec 2011 08:53:28 +0000 (08:53 +0000)
commit8bdeef859e7c094dbd5e2bbd6c918eb88dfb3044
tree18da612805e76e9cda865c0ff5f870903bbe8425
parent17e8a1a8dc879f2dbb1be9e4164345c1911075d0
Bug 665728 — prepare() isn't mutually exclusive inside a single thread

Fix Tpf.PersonaStore.prepare() to only run once, even if it's called multiple
times from the same thread (e.g. if the caller wasn't yielding on the async
call returning).

Closes: bgo#665728
NEWS
backends/telepathy/lib/tpf-persona-store.vala