Skip to content

Commit cc913ae

Browse files
committed
review
1 parent 44ed5e9 commit cc913ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/netns/netns_darwin.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ func getRouteCache() *expirable.LRU[string, int] {
5454
// ClearRouteCache clears the route cache. This should be called by the
5555
// network monitor when a link changes occur.
5656
func ClearRouteCache() {
57+
// The route cache is only used in Coder soft isolation mode.
5758
if coderSoftIsolation.Load() {
5859
getRouteCache().Purge()
5960
}

0 commit comments

Comments
 (0)