Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzix committed Jun 18, 2021
1 parent 2a59b8a commit 27ea4ec
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 27ea4ec

Please sign in to comment.