diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-04-18 00:07:07 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-04-19 23:04:32 +0100 |
| commit | 361352316a011e648838588ad07bf69ba5edf344 (patch) | |
| tree | a44b8f5b1eee1a4eefc59df88c94b88b5d7ae0e3 /src/lib/butler.cc | |
| parent | b18c12353d22037d85086c150ff9b3d3a2546f4d (diff) | |
Handle butler thread exceptions properly.
Diffstat (limited to 'src/lib/butler.cc')
| -rw-r--r-- | src/lib/butler.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/butler.cc b/src/lib/butler.cc index 7481b0301..81e09fbd3 100644 --- a/src/lib/butler.cc +++ b/src/lib/butler.cc @@ -98,6 +98,8 @@ try } } catch (boost::thread_interrupted) { /* The butler thread is being terminated */ +} catch (...) { + store_current (); } pair<shared_ptr<PlayerVideo>, DCPTime> |
