Re-allow audio channel 15 to be mapped so that users can add
[dcpomatic.git] / src / lib / update_checker.cc
index 82337f92016905420316ad19daa1d1779804ffcf..0fad330fd58ccd1b9942db4c47bf491c9757826a 100644 (file)
@@ -81,19 +81,17 @@ UpdateChecker::start ()
 
 UpdateChecker::~UpdateChecker ()
 {
+       boost::this_thread::disable_interruption dis;
+
        {
                boost::mutex::scoped_lock lm (_process_mutex);
                _terminate = true;
        }
 
        _condition.notify_all ();
-       if (_thread.joinable()) {
-               try {
-                       _thread.join ();
-               } catch (...) {
-
-               }
-       }
+       try {
+               _thread.join ();
+       } catch (...) {}
 
        curl_easy_cleanup (_curl);
        delete[] _buffer;