]> Cypherpunks repositories - gostls13.git/commit
runtime: fix data race in abi finalizer test
authorThan McIntosh <thanm@google.com>
Wed, 14 Apr 2021 19:40:01 +0000 (15:40 -0400)
committerThan McIntosh <thanm@google.com>
Wed, 14 Apr 2021 19:57:35 +0000 (19:57 +0000)
commit1a8f0a79619bee4b0040888a5703e38f8117d682
tree7454017645c9c6b5f37941d56cf16e9574133a1a
parenta89ace106f820a4f3b129c81ba0bcf0c48b5b7cd
runtime: fix data race in abi finalizer test

Fix a buglet in TestFinalizerRegisterABI that was causing problems
when run with GOEXPERIMENT=regabi.

Updates #40724.

Change-Id: I950c4aa3df69eada23e600f01e6804eb136ce806
Reviewed-on: https://go-review.googlesource.com/c/go/+/310077
Trust: Than McIntosh <thanm@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/abi_test.go