Skip to content

Commit

Permalink
use detach
Browse files Browse the repository at this point in the history
  • Loading branch information
wshwsh12 committed May 11, 2022
1 parent 8fe7af0 commit 7828acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executor/hash_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func (c *hashRowContainer) Len() uint64 {
}

func (c *hashRowContainer) Close() error {
defer func() { c.memTracker.Consume(-c.memTracker.BytesConsumed()) }()
defer c.memTracker.Detach()
return c.rowContainer.Close()
}

Expand Down

0 comments on commit 7828acd

Please sign in to comment.