which would work like `on.exit()` but would use `reg.finalizer()`, with some tweaks. Should work in both helpers and in individual test files.
which would work like
on.exit()but would usereg.finalizer(), with some tweaks.Should work in both helpers and in individual test files.