x-runtime-lib 0.8.185 → 0.8.186

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -9894,7 +9894,7 @@ class Uc {
9894
9894
  this.vm = t.newContext(), this.promiseManager = new Mc(this.vm), Lc(this), this.vm.evalCode(Tc), this.setGlobalVariable("__env__", this.env), this.vm.evalCode(e), await Le(), this.hooks.onReady();
9895
9895
  }
9896
9896
  destroyVm() {
9897
- this.hooks.onDestroy(), this.promiseManager && (this.promiseManager.dispose(), this.promiseManager = void 0), this.vm && (this.vm.dispose(), this.vm = void 0);
9897
+ this.vm && this.hooks.onDestroy(), this.promiseManager && (this.promiseManager.dispose(), this.promiseManager = void 0), this.vm && (this.vm.dispose(), this.vm = void 0);
9898
9898
  }
9899
9899
  setGlobalVariable(t, e) {
9900
9900
  const { vm: o } = this;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.8.185",
4
+ "version": "0.8.186",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",