summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-04-21 11:36:04 +0100
committerCarl Hetherington <cth@carlh.net>2017-04-21 11:36:04 +0100
commit671ca74d521e101f83f45a0b1492602e607b6ad3 (patch)
tree0c0b8a85885950869e2ea6e1688e25d1fce099e8 /src/lib
parent0e12f00a1807c5ad27814ad3ad8a72ec2261900e (diff)
Throw exceptions raised while waiting for the butler to deliver video.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/butler.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/butler.cc b/src/lib/butler.cc
index 32d607c5d..b84dbc024 100644
--- a/src/lib/butler.cc
+++ b/src/lib/butler.cc
@@ -107,6 +107,8 @@ try
/* The butler thread is being terminated */
} catch (...) {
store_current ();
+ _finished = true;
+ _arrived.notify_all ();
}
pair<shared_ptr<PlayerVideo>, DCPTime>