mirror of
https://github.com/MetaCubeX/Clash.Meta.git
synced 2025-04-05 06:03:34 +03:00
Chore: cache process name when resolve failed (#900)
This commit is contained in:
parent
8b7c731fd6
commit
50d778da3c
2 changed files with 0 additions and 2 deletions
|
@ -36,7 +36,6 @@ func (ps *Process) Match(metadata *C.Metadata) bool {
|
|||
name, err := getExecPathFromAddress(metadata)
|
||||
if err != nil {
|
||||
log.Debugln("[%s] getExecPathFromAddress error: %s", C.Process.String(), err.Error())
|
||||
return false
|
||||
}
|
||||
|
||||
processCache.Set(key, name)
|
||||
|
|
|
@ -35,7 +35,6 @@ func (ps *Process) Match(metadata *C.Metadata) bool {
|
|||
name, err := getExecPathFromAddress(metadata)
|
||||
if err != nil {
|
||||
log.Debugln("[%s] getExecPathFromAddress error: %s", C.Process.String(), err.Error())
|
||||
return false
|
||||
}
|
||||
|
||||
processCache.Set(key, name)
|
||||
|
|
Loading…
Add table
Reference in a new issue