diff options
| author | Carlos Amedee <carlos@golang.org> | 2025-04-09 16:21:42 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-05-07 09:24:06 -0700 |
| commit | 17789bc8771ad2d36e374df65262c4ffd81c97c5 (patch) | |
| tree | efa634a759e69f93f75d0ccb7c70a814fe99b740 /src/runtime/error.go | |
| parent | dad4f39971d89b56224d1eb44121305b1c0ef711 (diff) | |
| download | go-17789bc8771ad2d36e374df65262c4ffd81c97c5.tar.xz | |
crypto/tls: use runtime.AddCleanup instead of runtime.SetFinalizer
Replace the usage of runtime.SetFinalizer with runtime.AddCleanup in
the certificate cache.
Updates #70907
Change-Id: Ieab6ff88dbc4083f11c1b475f11bd61521dbc638
Reviewed-on: https://go-review.googlesource.com/c/go/+/664275
Auto-Submit: Carlos Amedee <carlos@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/runtime/error.go')
0 files changed, 0 insertions, 0 deletions
