Fix crashes on x-thread signal emission.
authorCarl Hetherington <cth@carlh.net>
Wed, 13 May 2015 20:57:40 +0000 (21:57 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 13 May 2015 20:57:40 +0000 (21:57 +0100)
commit05c37bfdb86be26497d5baa448a0cbda20e33bed
treefed504a9785d818940097810968b6cccb5780b3f
parent6718fb9d02d0b55ccd00eda8faa027972d46a4b4
Fix crashes on x-thread signal emission.

Fix crashes on x-thread signal emission if the emitting object
is destroyed between the storage of the message on the queue
and the emission of the object in the UI thread.
14 files changed:
src/lib/content.cc
src/lib/content.h
src/lib/film.cc
src/lib/film.h
src/lib/job.cc
src/lib/job.h
src/lib/job_manager.cc
src/lib/job_manager.h
src/lib/server_finder.cc
src/lib/server_finder.h
src/lib/signaller.h [new file with mode: 0644]
src/lib/ui_signaller.h
src/lib/update.cc
src/lib/update.h