mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-11-10 05:10:26 +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