Emit finished signal when the hints thread fails.
authorCarl Hetherington <cth@carlh.net>
Tue, 14 Jan 2025 21:00:07 +0000 (22:00 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 14 Jan 2025 21:00:07 +0000 (22:00 +0100)
Otherwise exceptions are never re-thrown and hence never
reported.

src/lib/hints.cc

index b929a3746baef439fed4859eb83dd2960be1ca55..1ad4a48343c8be4ce737f52db97302636f87a526 100644 (file)
@@ -544,6 +544,7 @@ catch (boost::thread_interrupted)
 catch (...)
 {
        store_current ();
+       emit(boost::bind(boost::ref(Finished)));
 }