Skip to content

Fix a dangling Gitaly connection

Nick Thomas requested to merge (removed):fix-dangling-gitaly-conn into master

In In !63 (merged) we added a context that can fail to be created, but missed that when this happens, we exit from NewGitalyClient without closing the connection we already dialled to gitaly.

It will be closed anyway, when the process exits just after returning the error, but we might as well be as correct as possible here.

Edited by Nick Thomas

Merge request reports