You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I like the design of this library, was going to look into using in a project but noticed the .free() method on the EmailAddress class. Not too familiar with the latest on wasm stuff but appears as though I might need to manually do memory management here and explicitly free an EmailAddress after I'm done with it?
The text was updated successfully, but these errors were encountered:
Hi @robertf224! Thank you for your question. I am currently using wasm-pack to create the wasm modules. That currently does not support the --weak-refs flag; refer to this issue.
In the absence of that, it is better to call the .free() method to deallocate the memory.
Hi! I like the design of this library, was going to look into using in a project but noticed the
.free()
method on theEmailAddress
class. Not too familiar with the latest on wasm stuff but appears as though I might need to manually do memory management here and explicitly free anEmailAddress
after I'm done with it?The text was updated successfully, but these errors were encountered: