diff options
author | Anna Henningsen <anna@addaleax.net> | 2019-08-18 00:05:48 +0200 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-08-20 00:14:10 +0200 |
commit | 119c4ccf0ef2addc84fd638004a631f55c7aefc9 (patch) | |
tree | 03e2889956067200c5d84285a16288707a415ab3 /tools/code_cache | |
parent | bdf07f4317ce738bbe56c5b91aaebf35d15052a8 (diff) | |
download | android-node-v8-119c4ccf0ef2addc84fd638004a631f55c7aefc9.tar.gz android-node-v8-119c4ccf0ef2addc84fd638004a631f55c7aefc9.tar.bz2 android-node-v8-119c4ccf0ef2addc84fd638004a631f55c7aefc9.zip |
worker: fix crash when SharedArrayBuffer outlives creating thread
Keep a reference to the `ArrayBuffer::Allocator` alive for at least
as long as a `SharedArrayBuffer` allocated by it lives.
Refs: https://github.com/nodejs/node/pull/28788
Fixes: https://github.com/nodejs/node/issues/28777
Fixes: https://github.com/nodejs/node/issues/28773
PR-URL: https://github.com/nodejs/node/pull/29190
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'tools/code_cache')
0 files changed, 0 insertions, 0 deletions