Merge master.
[dcpomatic.git] / src / lib / exceptions.h
index 61163c8d12403dc492251f3e85668b4fa9a1119e..213be6186d523a713a0a3f167f77127e0047164e 100644 (file)
@@ -260,6 +260,7 @@ public:
                boost::mutex::scoped_lock lm (_mutex);
                if (_exception) {
                        boost::rethrow_exception (_exception);
+                       _exception = boost::exception_ptr ();
                }
        }