]> Cypherpunks repositories - gostls13.git/commit
cmd/vet: lostcancel: suppress the check in the main.main function
authorAlan Donovan <adonovan@google.com>
Fri, 13 Apr 2018 18:27:33 +0000 (14:27 -0400)
committerAlan Donovan <adonovan@google.com>
Fri, 9 Nov 2018 16:11:42 +0000 (16:11 +0000)
commit5e17ce22ece18571597ef9a214cdfcd461894e9c
tree8d113c263a3f89917a01207dde336fe27c43872c
parent7d6b5e340c9c89416ffbf3e0bc997b77304c31f7
cmd/vet: lostcancel: suppress the check in the main.main function

When main.main returns, the process exits, so there's no need to cancel contexts.

This change was initially reviewed as
https://go-review.googlesource.com/c/go/+/106915/4
but somehow I messed up and committed patchset 5, which was
effectively empty.

Change-Id: Ic4250eb6563af9bc734e429aafc7081ca7d0e012
Reviewed-on: https://go-review.googlesource.com/c/148758
Reviewed-by: Alan Donovan <adonovan@google.com>
src/cmd/vet/lostcancel.go
src/cmd/vet/testdata/lostcancel.go