summaryrefslogtreecommitdiff
path: root/src/lib/exceptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/exceptions.h')
-rw-r--r--src/lib/exceptions.h1
1 files changed, 1 insertions, 0 deletions
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 ();
}
}