Fix race.
authorCarl Hetherington <cth@carlh.net>
Wed, 30 Jun 2021 23:22:41 +0000 (01:22 +0200)
committerCarl Hetherington <cth@carlh.net>
Wed, 30 Jun 2021 23:22:41 +0000 (01:22 +0200)
src/tools/dcpomatic.cc

index b05600ec34367b270b31f7ed79e4dd9207941ed5..24c5bd5ecae4624758f36f40b1c66fa687c09ce0 100644 (file)
@@ -1105,8 +1105,8 @@ private:
 
        void tools_check_for_updates ()
        {
-               UpdateChecker::instance()->run ();
                _update_news_requested = true;
+               UpdateChecker::instance()->run();
        }
 
        void tools_send_translations ()