Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzix authored and ti-chi-bot committed Jun 18, 2021
1 parent 9aa4047 commit ab7c666
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cdc/processor/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -777,6 +777,8 @@ func (p *processor) doGCSchemaStorage() error {
func (p *processor) Close() error {
for _, tbl := range p.tables {
tbl.Cancel()
}
for _, tbl := range p.tables {
tbl.Wait()
}
p.cancel()
Expand Down

0 comments on commit ab7c666

Please sign in to comment.