Skip to content
Snippets Groups Projects
Unverified Commit e6d227ee authored by Angelo Capossele's avatar Angelo Capossele Committed by GitHub
Browse files

:bug: Fix sigsegv error (#653)

parent 86e7b468
No related branches found
No related tags found
No related merge requests found
......@@ -49,6 +49,9 @@ func sendVertex(cachedMessage *message.CachedMessage, cachedMessageMetadata *tan
defer cachedMessageMetadata.Release()
msg := cachedMessage.Unwrap()
if msg == nil {
return
}
broadcastWsMessage(&wsmsg{MsgTypeVertex, &vertex{
ID: msg.Id().String(),
TrunkID: msg.TrunkId().String(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment