mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-11-04 01:06:59 +00:00
Improve network reset
This commit is contained in:
@@ -35,6 +35,10 @@ func NewSearcher(config Config) (Searcher, error) {
|
||||
return searcher, nil
|
||||
}
|
||||
|
||||
func (s *linuxSearcher) ResetCache() {
|
||||
s.processPathCache.cache.Purge()
|
||||
}
|
||||
|
||||
func (s *linuxSearcher) Close() error {
|
||||
var errs []error
|
||||
for _, conn := range s.diagConns {
|
||||
|
||||
Reference in New Issue
Block a user