]> Cypherpunks repositories - gostls13.git/commit
runtime: panic on AddCleanup with self pointer
authorIan Lance Taylor <iant@golang.org>
Wed, 20 Aug 2025 00:00:29 +0000 (17:00 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 26 Nov 2025 06:09:03 +0000 (22:09 -0800)
commit06412288cfd31ab365fe8ee6368742dffa759803
treef49f8d9f8f21db4adabf3861d377ffd26934a142
parent03f499ec4602500939a1ed3c540cbd5183c20ce9
runtime: panic on AddCleanup with self pointer

For #75066

Change-Id: Ifd555586fb448e7510fed16372648bdd7ec0ab4a
Reviewed-on: https://go-review.googlesource.com/c/go/+/697535
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/runtime/mcleanup.go
src/runtime/mcleanup_test.go