WaitGroup.Wait should not be concurrently called WaitGroup.Add. In other words, we should not start new goroutines after shutodwn is called. Thus, add a conditional to check that shutdown has not been called before starting off a new waitAndDelete goroutine. Updates tailscale/corp#14772 Signed-off-by: Joe Tsai <joetsai@digital-static.net> |
||
---|---|---|
.. | ||
delete.go | ||
delete_test.go | ||
resume.go | ||
resume_test.go | ||
retrieve.go | ||
send.go | ||
taildrop.go | ||
taildrop_test.go |