diff options
author | Tim Ramlot <42113979+inteon@users.noreply.github.com> | 2021-05-11 21:09:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-11 21:09:09 +0200 |
commit | 635253bd3a3895f49e6c9606beb852da22fee205 (patch) | |
tree | cec9d75354b4e985a376f888564ecb63c99f2643 /runtime/worker.rs | |
parent | 0d319161bc19a520df653bc0c8386f14a68efbdb (diff) |
feat(runtime/worker): Structured cloning worker message passing (#9323)
This commit upgrade "Worker.postMessage()" implementation to use
structured clone algorithm instead of non-spec compliant JSON serialization.
Diffstat (limited to 'runtime/worker.rs')
-rw-r--r-- | runtime/worker.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/worker.rs b/runtime/worker.rs index ab54e2153..c75f09dc8 100644 --- a/runtime/worker.rs +++ b/runtime/worker.rs @@ -113,7 +113,7 @@ impl MainWorker { metrics::init(), // Runtime ops ops::runtime::init(main_module), - ops::worker_host::init(true, options.create_web_worker_cb.clone()), + ops::worker_host::init(options.create_web_worker_cb.clone()), ops::fs_events::init(), ops::fs::init(), ops::http::init(), |