Skip to content

Add a safe/sane way to stop a GoRef instance #6

@mreithub

Description

@mreithub

Right now GoRef instances are considered permanent (i.e. once you create them, you're stuck with them until the program exits).
That's why spawning an eternal goroutine for each of them isn't that big a deal.

But for the sake of completeness, it should be possible to stop these goroutines in a safe manner (and put the GoRef instance into an inactive state where .Ref() will fail - also in a safe way)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions