Skip to content

Commit

Permalink
Fix cgroups cache reset
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrikBengtsson committed Nov 27, 2024
1 parent d09584a commit 78927c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/cgroups.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ procPath <- local({
.path <<- path

## Reset caches
environment(getCGroupsRoot)$.cache <- NULL
environment(getCGroups)$.cache <- NULL
environment(getCGroupsRoot)$.path <- NULL
environment(getCGroups)$.data <- NULL

return(old_path)
}
Expand Down

0 comments on commit 78927c0

Please sign in to comment.