Closed HDegroote closed 2 months ago
Current behaviour is that it retains buffers through signer.publicKey and signer.namespace (sometimes buffers of multiple Mb if they come from UDX).
signer.publicKey
signer.namespace
This fixes the leak on the code paths I can reproduce.
Warning: I'm not sure it's safe to call Verifier.createManifest on passed-in manifests (for example, it will throw for non-blake2b hashes)
Verifier.createManifest
Current behaviour is that it retains buffers through
signer.publicKey
andsigner.namespace
(sometimes buffers of multiple Mb if they come from UDX).This fixes the leak on the code paths I can reproduce.
Warning: I'm not sure it's safe to call
Verifier.createManifest
on passed-in manifests (for example, it will throw for non-blake2b hashes)