mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-22 16:28:30 +02:00
fix reload stuck
This commit is contained in:
@@ -108,9 +108,6 @@ func (p *Provider) startRoute(parent task.Parent, r *R.Route) E.Error {
|
||||
}
|
||||
|
||||
p.routes.Store(r.Entry.Alias, r)
|
||||
r.Task().OnFinished("provider_remove_route", func() {
|
||||
p.routes.Delete(r.Entry.Alias)
|
||||
})
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user