runtime: Fix interaction between Goexit and defers
When running defers, we must check whether the defer has already been marked as started so we don't run it twice. Fixes #8774. LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/142280044
Showing
Please register or sign in to comment