-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
It seems that libsodium opens /dev/random and hangs onto the fd, which is not normally a problem, but when running the test suite we dlopen it many times, generating many copies, and they accumulate.
There is a way to close this handle, even though there's no general shutdown function for the library, so do that when closing the extension.