Skip to content

Commit 4c55e1e

Browse files
committed
fix(event): Invalid thread id for Map/Unmap view file events
These events don't contain the thread id parameter, so trying to adjust the tid will always yield to an invalid value.
1 parent b6e018d commit 4c55e1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kevent/kevent_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func (e *Kevent) adjustPID() {
8484
}
8585
case ktypes.File:
8686
if !e.IsMapViewFile() && !e.IsUnmapViewFile() {
87-
// take thread if from the event parameters
87+
// take thread id from the event parameters
8888
e.Tid, _ = e.Kparams.GetTid()
8989
}
9090
switch {

0 commit comments

Comments
 (0)