Skip to content

feature: golang-style defer for setting OnExit #152

@nick1udwig

Description

@nick1udwig

Can we add a golang-defer-like command that sets OnExit?

E.g. consider the case of an application that has bound an HTTP path. If that application dies, the path remains bound, since the application did not call unbind.

However, this is a natural case for OnExit-based cleanup; and possibly for a defer-like call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions