Fix handling of connections without process
This commit is contained in:
@@ -111,7 +111,8 @@ func CleanProcessStorage(activePIDs map[int]struct{}) {
|
||||
// The PID of a process does not change.
|
||||
|
||||
// Check if this is a special process.
|
||||
if p.Pid == UnidentifiedProcessID || p.Pid == SystemProcessID {
|
||||
switch p.Pid {
|
||||
case UnidentifiedProcessID, UnsolicitedProcessID, SystemProcessID:
|
||||
p.profile.MarkStillActive()
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user