summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-24 13:23:01 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-24 13:23:01 +0000
commita76938561c26dd59d29e45150d1954d14171f6e7 (patch)
treeb50790962b99d0047b95ef65685664900ced10a4 /src/lib
parent3b7e713e815b47772d17ec41ca83f200ea19cbaa (diff)
Try to fix repeatedly-reported exceptions.
Diffstat (limited to 'src/lib')
-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 c1240538f..3423a5754 100644
--- a/src/lib/exceptions.h
+++ b/src/lib/exceptions.h
@@ -253,6 +253,7 @@ public:
boost::mutex::scoped_lock lm (_mutex);
if (_exception) {
boost::rethrow_exception (_exception);
+ _exception = boost::exception_ptr ();
}
}