Skip to content

Commit

Permalink
Merge pull request #674 from ronaldwind/master
Browse files Browse the repository at this point in the history
Link checkout process to fix dangling aborted request
  • Loading branch information
benoitc authored Mar 11, 2021
2 parents 9d446da + 98b4cc7 commit 4905d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hackney_pool.erl
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ checkout(Host, Port, Transport, Client) ->
end,
Requester ! {checkout, Ref, Result}
end,
_ = spawn(Fun),
_ = spawn_link(Fun),
receive
{checkout, Ref, Result} ->
Result
Expand Down

0 comments on commit 4905d96

Please sign in to comment.