Skip to content
Snippets Groups Projects
Commit deca6e7b authored by Robert's avatar Robert Committed by mergify-bot
Browse files

Replace use of 'withAsync' by 'concurrently', to not lose exceptions

This fixes deadlock in asyncFetchPackages:

  withAsync action1 (\_ -> action2)

loses exceptions thrown by action1. If in addition, action2
has a dependency on data produced by action1 (as is the case
here), this will block indefinitely.

(This bug caused some of the new tests to hang, since after
the change to use async-safe try, it became easier for
fetchPackages to throw an exception.)
parent d0b268ea
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment