Skip to content

BuildSet.watch: don't wait forever

Antonio Terceiro requested to merge dont-wait-forever into master

In cases where at least one of the threads crashes, we would wait forever for results.get() to return. At the same time, any exceptions that happen in the sub-threads were never reported.

This will break out of the loop if all threads are finished and we still didn't receive all the results we were waiting for. It's not the final fix, but at least now we won't wait forever and will get exception notifications so that we can later fix the actual issues.

Closes #93 (closed)

Merge request reports