Buildalyzer
Buildalyzer copied to clipboard
Fix hang if build does not start
Fixes #271
There are other solutions to this, like running ReadAll in a Thread or Task and aborting that. I've also looked at the cancellation token and using that, however it's not being used effectively in ReadAll and I don't think there is simple solution as AnonymousPipeLoggerServer doesn't support cooperative cancellation as far as I can see.
There may be a memory leak here with the the two events being subscribed to, not sure if we want to try and engineer a better solution.
Thanks for the contribution @slang25 .