summaryrefslogtreecommitdiff
path: root/js/text_encoding_test.ts
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2018-10-07 23:48:06 +0200
committerBert Belder <bertbelder@gmail.com>2018-10-08 18:19:32 +0200
commite742af10aa67dc90a68fcb60b8e70733fd753e68 (patch)
treebc9d7360c5a8cb94e93f9dabf5749b94addc0c18 /js/text_encoding_test.ts
parentd86e5d2605c68606c8073d1b563d3389ea93c112 (diff)
Abide by the rules when passing Isolate between c and rust
Ensure that at most one mutable Isolate reference exists at a time. `deno_execute()` and `deno_respond()` now borrow a reference to the rust-side isolate from the caller. When we need a reference to the isolate while one of these functions is on the stack, `deno_get_data()` can be used to borrow back that reference.
Diffstat (limited to 'js/text_encoding_test.ts')
0 files changed, 0 insertions, 0 deletions