strip init of wg

This commit is contained in:
Asim Aslam 2017-05-31 19:35:16 +01:00
parent 276a0118da
commit 2ee22f5336

View File

@ -46,7 +46,6 @@ func newRpcServer(opts ...Option) Server {
handlers: make(map[string]Handler), handlers: make(map[string]Handler),
subscribers: make(map[*subscriber][]broker.Subscriber), subscribers: make(map[*subscriber][]broker.Subscriber),
exit: make(chan chan error), exit: make(chan chan error),
wg: sync.WaitGroup{},
} }
} }