43 ms·
Go does have runtime.SetFinalizer: https://golang.org/pkg/runtime/#SetFinalizer https://golang.org/pkg/runtime/#SetFinalizer But beware of finalizer ordering i
by pcwalton 11y ago
Go does have runtime.SetFinalizer: https://golang.org/pkg/runtime/#SetFinalizer https://golang.org/pkg/runtime/#SetFinalizer
But beware of finalizer ordering issues.