mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
[skip ci] Add comment for taskScheduler close (#9756)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
parent
83c3a677cc
commit
a0fb28fea4
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user