@ricsam/r5d-worker 0.0.87 → 0.0.88

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/cjs/main.cjs CHANGED
@@ -5789,8 +5789,9 @@ async function startWorker(options) {
5789
5789
  });
5790
5790
  });
5791
5791
  ws.addEventListener("close", (event) => {
5792
- process.off("SIGTERM", handleGracefulShutdown);
5793
- process.off("SIGINT", handleGracefulShutdown);
5792
+ const processEvents = process;
5793
+ processEvents.off("SIGTERM", handleGracefulShutdown);
5794
+ processEvents.off("SIGINT", handleGracefulShutdown);
5794
5795
  stopHeartbeatWatchdog();
5795
5796
  if (workspaceAutomaticTimer) {
5796
5797
  clearTimeout(workspaceAutomaticTimer);
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@ricsam/r5d-worker",
3
- "version": "0.0.87",
3
+ "version": "0.0.88",
4
4
  "type": "commonjs"
5
5
  }
@@ -113,7 +113,8 @@ async function superviseWorkerRuntime(argv, env = process.env, spawnRuntime = de
113
113
  }
114
114
  return exitCode;
115
115
  } finally {
116
- for (const { signal, handler } of handlers) process.off(signal, handler);
116
+ const processEvents = process;
117
+ for (const { signal, handler } of handlers) processEvents.off(signal, handler);
117
118
  }
118
119
  }
119
120
  }
package/dist/mjs/main.mjs CHANGED
@@ -5797,8 +5797,9 @@ async function startWorker(options) {
5797
5797
  });
5798
5798
  });
5799
5799
  ws.addEventListener("close", (event) => {
5800
- process.off("SIGTERM", handleGracefulShutdown);
5801
- process.off("SIGINT", handleGracefulShutdown);
5800
+ const processEvents = process;
5801
+ processEvents.off("SIGTERM", handleGracefulShutdown);
5802
+ processEvents.off("SIGINT", handleGracefulShutdown);
5802
5803
  stopHeartbeatWatchdog();
5803
5804
  if (workspaceAutomaticTimer) {
5804
5805
  clearTimeout(workspaceAutomaticTimer);
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@ricsam/r5d-worker",
3
- "version": "0.0.87",
3
+ "version": "0.0.88",
4
4
  "type": "module"
5
5
  }
@@ -84,7 +84,8 @@ async function superviseWorkerRuntime(argv, env = process.env, spawnRuntime = de
84
84
  }
85
85
  return exitCode;
86
86
  } finally {
87
- for (const { signal, handler } of handlers) process.off(signal, handler);
87
+ const processEvents = process;
88
+ for (const { signal, handler } of handlers) processEvents.off(signal, handler);
88
89
  }
89
90
  }
90
91
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ricsam/r5d-worker",
3
- "version": "0.0.87",
3
+ "version": "0.0.88",
4
4
  "type": "module",
5
5
  "main": "./dist/cjs/main.cjs",
6
6
  "module": "./dist/mjs/main.mjs",