Skip to content

Commit

Permalink
fix: Ensure ctx is finished
Browse files Browse the repository at this point in the history
  • Loading branch information
rlch committed Aug 8, 2024
1 parent 3c85566 commit 886465d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,7 @@ func (c *runnerImpl) executeTransaction(
} else {
causalConsistencyCache[key] = bookmarks
go func(key string) {
<-ctx.Done()
causalConsistencyCache[key] = nil
}(key)
}
Expand Down

0 comments on commit 886465d

Please sign in to comment.