Buildalyzer icon indicating copy to clipboard operation
Buildalyzer copied to clipboard

Fix hang if build does not start

Open slang25 opened this issue 1 year ago • 1 comments

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.

slang25 avatar May 07 '24 12:05 slang25

Thanks for the contribution @slang25 .

phmonte avatar May 08 '24 21:05 phmonte