Skip to content

runtime: deprecate SetFinalizer #70425

Open
@cagedmantis

Description

@cagedmantis

The original intent of proposal #67535 included the deprecation of SetFinalizer. While the proposal is approved and the implementation has landed in the tree, we feel less comfortable with deprecating SetFinalizer in the same release as the addition of AddCleanup. Notibly, the lack of a trivial migration from SetFinalizer to AddCleanup was an issue that was mentioned. This issue intends to track the deprecation of SetFinalizer in a future release of Go and the discussion surrounding it.

@mknyszek @cagedmantis @ianlancetaylor

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsFixThe path to resolution is known, but the work has not been done.compiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions