mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-11-23 18:15:24 +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
@ -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 New Issue
Block a user