diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-05-13 21:57:40 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-05-13 21:57:40 +0100 |
| commit | 05c37bfdb86be26497d5baa448a0cbda20e33bed (patch) | |
| tree | fed504a9785d818940097810968b6cccb5780b3f /src/lib/update.h | |
| parent | 6718fb9d02d0b55ccd00eda8faa027972d46a4b4 (diff) | |
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.
Diffstat (limited to 'src/lib/update.h')
| -rw-r--r-- | src/lib/update.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/update.h b/src/lib/update.h index 5bb9e9501..461217a37 100644 --- a/src/lib/update.h +++ b/src/lib/update.h @@ -21,6 +21,7 @@ * @brief UpdateChecker class. */ +#include "signaller.h" #include <curl/curl.h> #include <boost/signals2.hpp> #include <boost/thread/mutex.hpp> @@ -30,7 +31,7 @@ struct update_checker_test; /** Class to check for the existance of an update for DCP-o-matic on a remote server */ -class UpdateChecker : public boost::noncopyable +class UpdateChecker : public Signaller, public boost::noncopyable { public: UpdateChecker (); |
