mirror of
https://gitee.com/gitea/gitea
synced 2025-12-19 06:26:36 +08:00
Backport #19537 There is a potential rare race possible whereby the c.running channel could be closed twice. Looking at the code I do not see a need for this c.running channel and therefore I think we can remove this. (I think the c.running might have been some attempt to prevent a hang but the use of os.Pipes should prevent that.) Signed-off-by: Andrew Thornton <art27@cantab.net>
9.2 KiB
9.2 KiB