diff options
author | Bert Belder <bertbelder@gmail.com> | 2020-05-11 20:20:14 +0200 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2020-05-11 22:39:13 +0200 |
commit | 3cccadcf0fbfc7ff4e7dd37299a65bea1cf0eab0 (patch) | |
tree | 58c198d0222b942b8bd1321e1423eaaebd909795 /cli/web_worker.rs | |
parent | a3f82c3d5ec3caad1d4ec74f49ef11adc45807d6 (diff) |
Change plugin interface to prevent segfaults when unloading plugin (#5210)
Fixes: #3473
Closes: #5193
Diffstat (limited to 'cli/web_worker.rs')
-rw-r--r-- | cli/web_worker.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/web_worker.rs b/cli/web_worker.rs index ebb3f1d86..490d9a5f3 100644 --- a/cli/web_worker.rs +++ b/cli/web_worker.rs @@ -136,7 +136,7 @@ impl WebWorker { ops::runtime_compiler::init(isolate, &state); ops::fs::init(isolate, &state); ops::fs_events::init(isolate, &state); - ops::plugins::init(isolate, &state); + ops::plugin::init(isolate, &state); ops::net::init(isolate, &state); ops::tls::init(isolate, &state); ops::os::init(isolate, &state); |