Bug 665039 — Crash in folks_backends_sw_backend_add_service
authorPhilip Withnall <philip@tecnocode.co.uk>
Tue, 6 Dec 2011 14:23:08 +0000 (14:23 +0000)
committerPhilip Withnall <philip@tecnocode.co.uk>
Tue, 6 Dec 2011 14:38:53 +0000 (14:38 +0000)
commit6ab0492a6de58d62ed963a82c0924b3550b762e0
tree2d675ca0f6dc3b51475871a17246d3096ed1ce32
parent50bc2ead6f963da7942d1c06cdd5e1a9e354fc85
Bug 665039 — Crash in folks_backends_sw_backend_add_service

Hold a reference to the Sw.Backend while waiting for a SwClient async call
to finish in prepare().

Similar changes are made in Swf.PersonaStore to avoid potential bugs there.

Closes: bgo#665039
NEWS
backends/libsocialweb/lib/swf-persona-store.vala
backends/libsocialweb/sw-backend.vala