gitea/services
zeripath 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 <art27@cantab.net>

* move close into the defer

Signed-off-by: Andrew Thornton <art27@cantab.net>

* lets try again

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-02-14 15:27:55 -05:00
..
2022-01-10 17:32:37 +08:00
2022-01-02 21:12:35 +08:00
2021-12-12 23:48:20 +08:00
2022-01-14 16:03:31 +01:00
2022-01-14 16:03:31 +01:00
2021-12-12 23:48:20 +08:00
2021-12-10 16:14:24 +08:00
2022-01-05 15:00:20 -06:00
2022-01-10 17:32:37 +08:00