Return whatever queue returns on Close()

License: MIT
Signed-off-by: 's avatarMichael Avila <davidmichaelavila@gmail.com>
上级 e05caf52
......@@ -48,8 +48,7 @@ func NewProvider(ctx context.Context, queue *Queue, tracker *Tracker, contentRou
// Close stops the provider
func (p *provider) Close() error {
p.queue.Close()
return nil
return p.queue.Close()
}
// Start workers to handle provide requests.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论