stop watcher

This commit is contained in:
Asim Aslam 2020-01-19 23:15:57 +00:00
parent 04cf86070c
commit 97928e88f8

View File

@ -281,6 +281,7 @@ func (p *Proxy) watchRoutes() {
if err != nil {
return
}
defer w.Stop()
for {
event, err := w.Next()