Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions gitnexus/src/cli/analyze.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,10 +357,8 @@ export const analyzeCommand = async (

console.log('');

// ONNX Runtime registers native atexit hooks that segfault during process
// shutdown on macOS (#38) and some Linux configs (#40). Force-exit to
// bypass them when embeddings were loaded.
if (!embeddingSkipped) {
process.exit(0);
}
// KuzuDB 0.11.3 and ONNX Runtime register native atexit hooks that
// segfault / double-free during process shutdown on Node 22+ (and
// macOS for ONNX — see #38, #40). Force-exit to bypass them.
process.exit(0);
};