Skip to content

Commit 9d4ab07

Browse files
Mnehmosdaniel-lxs
andcommitted
Update src/integrations/editor/DiffViewProvider.ts
Co-authored-by: Daniel <[email protected]>
1 parent aa78924 commit 9d4ab07

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/integrations/editor/DiffViewProvider.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,9 @@ export class DiffViewProvider {
393393
.map((tab) =>
394394
vscode.window.tabGroups.close(tab).then(
395395
() => undefined,
396-
(err) => {},
396+
(err) => {
397+
// Ignore errors when closing diff tabs - they may already be closed
398+
},
397399
),
398400
)
399401

0 commit comments

Comments
 (0)