Skip to content

Commit

Permalink
fix race
Browse files Browse the repository at this point in the history
  • Loading branch information
Yisaer committed Jan 16, 2023
1 parent 1cff10c commit 4f875c4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion domain/domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,6 @@ func (do *Domain) Close() {
do.info.RemoveMinStartTS()
}
close(do.exit)
do.exited.Store(true)
if do.etcdClient != nil {
terror.Log(errors.Trace(do.etcdClient.Close()))
}
Expand Down

0 comments on commit 4f875c4

Please sign in to comment.