pool: fixed synchronization/stopping of the pool

This commit is contained in:
Leo Balduf
2016-03-02 22:18:34 +01:00
committed by Jimmy Zelinskie
parent 34428cf465
commit 114322ce10
3 changed files with 8 additions and 9 deletions

View File

@@ -48,6 +48,7 @@ func constructor(srvcfg *config.ServerConfig, tkr *tracker.Tracker) (server.Serv
theStore = &Store{
cfg: cfg,
tkr: tkr,
shutdown: make(chan struct{}),
ClientStore: cs,
PeerStore: ps,
IPStore: ips,