mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-09-07 08:26:11 +00:00
The disconnect() method was unconditionally importing embedder.js on every graceful shutdown, which loads @huggingface/transformers and onnxruntime-node — triggering the exact crash this branch fixes. Since process.exit(0) follows immediately, the OS reclaims all resources without needing disposeEmbedder(). Matches the pattern already established in analyze.ts (lines 318-320). Fixes #89 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| core | ||
| local | ||
| resources.ts | ||
| server.ts | ||
| staleness.ts | ||
| tools.ts | ||