Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
syscall: make windows Exit call runtime.exit
Both runtime.exit and syscall.Exit call Windows ExitProcess. But recently (CL 34616) runtime.exit was changed to ignore Windows CreateThread errors if ExitProcess is called. This CL adjusts syscall.Exit to do the same. Fixes #18253 (maybe) Change-Id: I6496c31b01e7c7d73b69c0b2ae33ed7fbe06736b Reviewed-on: https://go-review.googlesource.com/45115 TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Rob Pike <[email protected]> Reviewed-by: Austin Clements <[email protected]>
- Loading branch information