Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: remove temporary build directories when terminated by signal #39382
Originally reported in golang/vscode-go#152.
What version of Go are you using (
Will contexts be enough? They do provide cancellation, but there won't be a way for the main goroutine to wait for the cleanup process (deleting temporary directories) to finish.