#include "update_checker.h"
#include "version.h"
-#include "safe_stringstream.h"
#include "util.h"
#include "raw_convert.h"
+#include <locked_sstream.h>
#include <libcxml/cxml.h>
#include <curl/curl.h>
#include <boost/algorithm/string.hpp>
_condition.notify_all ();
if (_thread) {
- DCPOMATIC_ASSERT (_thread->joinable ());
- _thread->join ();
+ /* Ideally this would be a DCPOMATIC_ASSERT(_thread->joinable()) but we
+ can't throw exceptions from a destructor.
+ */
+ if (_thread->joinable ()) {
+ _thread->join ();
+ }
}
delete _thread;