Skip to content

Commit

Permalink
[CWS] correctly reset callbacks of pce on reset (#30513)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcacheux authored Oct 25, 2024
1 parent 38371a4 commit e45d5b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/security/secl/model/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ func (pc *ProcessCacheEntry) IsContainerRoot() bool {
func (pc *ProcessCacheEntry) Reset() {
pc.ProcessContext = zeroProcessContext
pc.refCount = 0
pc.onRelease = nil
}

// Retain increment ref counter
Expand Down
1 change: 1 addition & 0 deletions pkg/security/seclwin/model/model.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e45d5b0

Please sign in to comment.