summaryrefslogtreecommitdiff
path: root/runtime/js/40_plugins.js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js/40_plugins.js')
-rw-r--r--runtime/js/40_plugins.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/js/40_plugins.js b/runtime/js/40_plugins.js
index e9a3142b4..0796fd5ce 100644
--- a/runtime/js/40_plugins.js
+++ b/runtime/js/40_plugins.js
@@ -5,7 +5,9 @@
const core = window.Deno.core;
function openPlugin(filename) {
- return core.opSync("op_open_plugin", filename);
+ const rid = core.opSync("op_open_plugin", filename);
+ core.syncOpsCache();
+ return rid;
}
window.__bootstrap.plugins = {