I'm trying to use a couple of Float32Arrays in a node addon (which needs access to the underlying float buffer) and maybe return a new one, currently I'm using Externalize (like so: http://pastebin.com/2e7z0rgr) to retrieve it, but the doc says that "After ArrayBuffer had been etxrenalized, it does no longer owns the memory block. The caller should take steps to free memory when it is no longer needed." so it seems that if I don't delete it myself, it'll leak. The thing is I still need those arrays after the function ends. Is there another way to get access to the internal array? Or a way to "Internalize" it back :) ?
I’m using v0.12.3 and NAN. -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/8333a904-eae8-4852-b181-d40c69742e31%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
