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