X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fexceptions.h;h=213be6186d523a713a0a3f167f77127e0047164e;hb=1f8b45c7fd49714628009f5ed2161fbaa2b4d729;hp=61163c8d12403dc492251f3e85668b4fa9a1119e;hpb=3af978d2d688cb1e4be7c8d95155a6b8cc7456a3;p=dcpomatic.git diff --git a/src/lib/exceptions.h b/src/lib/exceptions.h index 61163c8d1..213be6186 100644 --- a/src/lib/exceptions.h +++ b/src/lib/exceptions.h @@ -260,6 +260,7 @@ public: boost::mutex::scoped_lock lm (_mutex); if (_exception) { boost::rethrow_exception (_exception); + _exception = boost::exception_ptr (); } }