mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-02-13 10:21:50 +00:00
warning about possible deadlock in legacy channel send, need to migrate the link code to fix it
This commit is contained in:
parent
034fece33f
commit
0539dee900
1 changed files with 2 additions and 0 deletions
|
@ -278,6 +278,8 @@ func (p *peer) _sendLinkPacket(packet []byte) {
|
|||
Payload: bs,
|
||||
}
|
||||
packet = linkPacket.encode()
|
||||
// TODO replace this with a message send if/when the link becomes an actor
|
||||
// FIXME not 100% sure the channel send version is deadlock-free...
|
||||
p.linkOut <- packet
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue