@isoloop/runtime 0.1.0-next.5 → 0.1.0-next.6

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.
package/dist/bootstrap.js CHANGED
@@ -2651,7 +2651,7 @@ var init_render = __esmMin((() => {
2651
2651
  headListeners = /* @__PURE__ */ new Set();
2652
2652
  }));
2653
2653
  // package.json
2654
- var version = "0.1.0-next.5";
2654
+ var version = "0.1.0-next.6";
2655
2655
  // src/vanilla.ts
2656
2656
  var vanilla_exports = /* @__PURE__ */ __exportAll({
2657
2657
  REQUIRES: () => REQUIRES,
@@ -2886,7 +2886,7 @@ function shutdownMember(m, graceMs, reason) {
2886
2886
  t: "bye",
2887
2887
  p: {}
2888
2888
  });
2889
- if (members.size === 0) self.close();
2889
+ if (mode !== "pool" && members.size === 0) self.close();
2890
2890
  });
2891
2891
  }
2892
2892
  /** Routes one message from the host to the member it is for. */
package/dist/index.js CHANGED
@@ -12,7 +12,7 @@ var HostCallError = class extends Error {
12
12
  };
13
13
  // src/vanilla.ts
14
14
  /** This build's stamp: `major.minor` of the package version, inlined when tsdown bundles it. */
15
- const REQUIRES = majorMinor("0.1.0-next.5") ?? "0.0";
15
+ const REQUIRES = majorMinor("0.1.0-next.6") ?? "0.0";
16
16
  /**
17
17
  * Types an isolate module's default export and stamps it with the version
18
18
  * it was built against. `Root` defaults to the structural `IsolateRoot`.
package/dist/worker.js CHANGED
@@ -2634,7 +2634,7 @@ var init_render = __esmMin((() => {
2634
2634
  headListeners = /* @__PURE__ */ new Set();
2635
2635
  }));
2636
2636
  // package.json
2637
- var version = "0.1.0-next.5";
2637
+ var version = "0.1.0-next.6";
2638
2638
  // src/vanilla.ts
2639
2639
  var vanilla_exports = /* @__PURE__ */ __exportAll({
2640
2640
  REQUIRES: () => REQUIRES,
@@ -2842,7 +2842,7 @@ function shutdownMember(m, graceMs, reason) {
2842
2842
  t: "bye",
2843
2843
  p: {}
2844
2844
  });
2845
- if (members.size === 0) self.close();
2845
+ if (mode !== "pool" && members.size === 0) self.close();
2846
2846
  });
2847
2847
  }
2848
2848
  /** Routes one message from the host to the member it is for. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isoloop/runtime",
3
- "version": "0.1.0-next.5",
3
+ "version": "0.1.0-next.6",
4
4
  "description": "Isolate-side runtime that runs inside each worker.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -35,8 +35,8 @@
35
35
  }
36
36
  },
37
37
  "dependencies": {
38
- "@isoloop/dom": "0.1.0-next.5",
39
- "@isoloop/protocol": "0.1.0-next.5"
38
+ "@isoloop/dom": "0.1.0-next.6",
39
+ "@isoloop/protocol": "0.1.0-next.6"
40
40
  },
41
41
  "devDependencies": {
42
42
  "typescript": "7.0.2"