From 6a78de70de763832f7a118614a52daab1cb16a07 Mon Sep 17 00:00:00 2001 From: Sir Darkrengarius Date: Thu, 28 Nov 2019 21:59:15 +0300 Subject: [PATCH] Fix panic on visor exit --- pkg/router/router.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/router/router.go b/pkg/router/router.go index 04092041c0..baad021bc1 100644 --- a/pkg/router/router.go +++ b/pkg/router/router.go @@ -144,6 +144,7 @@ func New(n *snet.Network, config *Config) (Router, error) { rgs: make(map[routing.RouteDescriptor]*RouteGroup), rpcSrv: rpc.NewServer(), accept: make(chan routing.EdgeRules, acceptSize), + done: make(chan struct{}), trustedNodes: trustedNodes, }