Skip to content

Commit

Permalink
Reset cache on projector reset (#776)
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianjoel authored Sep 20, 2023
1 parent f7cf68d commit e97497e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/projector/projector.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ type Projector struct {
func (p *Projector) Reset() {
p.mu.Lock()
defer p.mu.Unlock()
p.cache = make(map[dskey.Key][]byte)
p.hotKeys = make(map[dskey.Key]map[dskey.Key]struct{})
}

Expand Down

0 comments on commit e97497e

Please sign in to comment.