Skip to content

Commit

Permalink
Precaution ensuring that unload is run on odd module paths
Browse files Browse the repository at this point in the history
  • Loading branch information
klmr committed Apr 22, 2021
1 parent aa24714 commit 9e13491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/box-package.r
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,5 @@ called_from_example = function () {
.onUnload = function (libpath) {
eapply(loaded_mods, function (mod_ns) {
call_hook(mod_ns, '.on_unload', mod_ns)
})
}, all.names = TRUE)
}

0 comments on commit 9e13491

Please sign in to comment.