stop watcher
This commit is contained in:
parent
04cf86070c
commit
97928e88f8
@ -281,6 +281,7 @@ func (p *Proxy) watchRoutes() {
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
defer w.Stop()
|
||||
|
||||
for {
|
||||
event, err := w.Next()
|
||||
|
Loading…
x
Reference in New Issue
Block a user