From 016e2dc50d406fb130f2a7d8c8d513f05076ae7c Mon Sep 17 00:00:00 2001 From: Geno Date: Tue, 7 Mar 2017 16:47:58 +0100 Subject: [PATCH] [BUGFIX] graph.go runs into deadlock (#32) --- models/graph.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/models/graph.go b/models/graph.go index 849372b..ef8f990 100644 --- a/models/graph.go +++ b/models/graph.go @@ -48,9 +48,7 @@ func (nodes *Nodes) BuildGraph() *Graph { vpn: make(map[string]interface{}), } - nodes.RLock() builder.readNodes(nodes.List) - nodes.RUnlock() graph := &Graph{Version: 1} graph.Batadv.Directed = false