clay-server 2.27.0-beta.11 → 2.27.0-beta.13

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/lib/project.js CHANGED
@@ -1183,10 +1183,14 @@ function createProjectContext(opts) {
1183
1183
  },
1184
1184
  warmup: function () {
1185
1185
  sdk.warmup();
1186
+ sdk.startIdleReaper();
1186
1187
  // Migrate existing relay session titles to SDK format (one-time, async)
1187
1188
  sm.migrateSessionTitles(getSDK, cwd);
1188
1189
  },
1189
- destroy: destroy,
1190
+ destroy: function () {
1191
+ sdk.stopIdleReaper();
1192
+ destroy();
1193
+ },
1190
1194
  };
1191
1195
  }
1192
1196