未验证 提交 a0fb28fe 编写于 作者: X xige-16 提交者: GitHub

[skip ci] Add comment for taskScheduler close (#9756)

Signed-off-by: Nxige-16 <xi.ge@zilliz.com>
上级 83c3a677
......@@ -822,6 +822,7 @@ func (scheduler *TaskScheduler) Start() error {
return nil
}
// Close function stops the scheduleLoop and the processActivateTaskLoop
func (scheduler *TaskScheduler) Close() {
scheduler.cancel()
scheduler.wg.Wait()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册