Files
gitea/services/gitdiff
zeripathandGitHub 7ebc3da7cb Prevent dangling GetAttribute calls (#18754) (#18755)
* Prevent dangling GetAttribute calls

It appears possible that there could be a hang due to unread data from the
repo-attribute command pipes. This PR simply closes these during the defer.

Signed-off-by: Andrew Thornton <[email protected]>

* move close into the defer

Signed-off-by: Andrew Thornton <[email protected]>

* lets try again

Signed-off-by: Andrew Thornton <[email protected]>
2022-02-14 15:27:55 -05:00
..
2021-12-20 04:41:31 +00:00