mirror of https://github.com/helm/helm
a case in RunWithContex() RunWithContex() { go i.performInstall // running for a longer time go i handleContex // return from ctx.Done() and send message to rchan, but performInstall is always running result := < -rChan //read message } the message in rchan will be received in RunWithContex(), and RunWithContex() returns soon. so, this case lead to goroutine performInstall leak Signed-off-by: Jiahao Huang <july2993@gmail.com>pull/11745/head
parent
76157c6d06
commit
cd18a713e2
Loading…
Reference in new issue