Merge branch 'master' into prefs
[dcpomatic.git] / src / lib / exceptions.h
index c1240538f3de2e2a10b6dfb052e17d2bbbbffc9e..3423a5754e340e3909b6b59ef617b5785d1a2809 100644 (file)
@@ -253,6 +253,7 @@ public:
                boost::mutex::scoped_lock lm (_mutex);
                if (_exception) {
                        boost::rethrow_exception (_exception);
+                       _exception = boost::exception_ptr ();
                }
        }