@recallai/desktop-sdk 0.0.0-nightly.20251211T210749-213bf92607f0394e1ffa13c7283317c06019eeb5 → 0.0.0-nightly.20251211T215612-3848b0e34cef64b066eb33386c31574daf0af72f

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/index.js +6 -0
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -76,6 +76,12 @@ let remainingAutomaticRestarts = 10;
76
76
  let unexpectedShutdown = false;
77
77
  let logBuffer = [];
78
78
  let logIndex = 0;
79
+ process.on("exit", () => {
80
+ if (proc && !proc.killed) {
81
+ proc.kill();
82
+ proc = null;
83
+ }
84
+ });
79
85
  function appendError(error) {
80
86
  lastErrorOut.push(error);
81
87
  if (lastErrorOut.length > 100) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@recallai/desktop-sdk",
3
- "version": "0.0.0-nightly.20251211T210749-213bf92607f0394e1ffa13c7283317c06019eeb5",
3
+ "version": "0.0.0-nightly.20251211T215612-3848b0e34cef64b066eb33386c31574daf0af72f",
4
4
  "description": "Recall Desktop SDK",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -20,5 +20,5 @@
20
20
  "@types/node": "^24.2.0",
21
21
  "typescript": "^5.3.3"
22
22
  },
23
- "commit_sha": "213bf92607f0394e1ffa13c7283317c06019eeb5"
23
+ "commit_sha": "3848b0e34cef64b066eb33386c31574daf0af72f"
24
24
  }