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
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