Description
In openDiff, terminal-based editors correctly call onEditorClose() in a finally block.
However, GUI-based editors (e.g., VS Code, Cursor) never call onEditorClose(), causing inconsistent cleanup behavior and potential resource leaks.
Location
- File:
packages/core/src/utils/editor.ts
Description
In
openDiff, terminal-based editors correctly callonEditorClose()in afinallyblock.However, GUI-based editors (e.g., VS Code, Cursor) never call
onEditorClose(), causing inconsistent cleanup behavior and potential resource leaks.Location
packages/core/src/utils/editor.ts