Skip to content

Shutdown Peer thread from the parent #28

@litchipi

Description

@litchipi

Issue when tackling #14 (see PR #26 )

A thread created to manage a Peer (in new_peer) doesn't have a clean way to exit.

As a temporary measure, a Sender<()> has been passed to all new threads, and as they listen to it at the same time as the receiver on the high/low priority channels, they can exit the thread.

This requires to be implemented in a cleaner way

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions