Commit Graph

4 Commits

Author SHA1 Message Date
mauve
85c58ddb59 Ensure memory gets zeroed even if it can't be freed 2020-11-01 16:56:24 -05:00
mauve
90308dacd3 Support environments without MessageChannel or worker_threads 2020-10-15 19:26:21 -04:00
Emil Bay
a338ae9f9d
Missing helpers (#24)
* Detach buffers by sending to an empty message channel

* Move helpers out

* fix import

* export helpers

* Try browser testing

* messagechannel check

* xvfb-run --auto-servernum npm run test-browser fails weirdly on ci, removing

Co-authored-by: Mathias Buus <mathiasbuus@gmail.com>
2020-08-12 15:39:14 +02:00
Emil Bay
e9ac929b5a Move memory helpers to their own module 2020-06-24 14:01:48 +02:00