Add some comments for translators.
[dcpomatic.git] / src / lib / update_checker.cc
index 52dfce7f782ce38ef8405f73fdf8337c90c94daa..4c5075e20f3d81a1e298cf0f914e3434fd616497 100644 (file)
@@ -27,6 +27,7 @@
 #include <curl/curl.h>
 #include <boost/algorithm/string.hpp>
 #include <string>
+#include <iostream>
 
 #define BUFFER_SIZE 1024
 
@@ -85,6 +86,7 @@ UpdateChecker::~UpdateChecker ()
 
        _condition.notify_all ();
        if (_thread) {
+               DCPOMATIC_ASSERT (_thread->joinable ());
                _thread->join ();
        }
        delete _thread;