Skip to content

Commit

Permalink
cleanup if chained config launch fails
Browse files Browse the repository at this point in the history
  • Loading branch information
haneefdm committed Jul 23, 2022
1 parent b9054f7 commit eba7425
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/frontend/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,9 @@ export class CortexDebugExtension {
vscode.window.showErrorMessage('Failed to launch chained configuration ' + launch.name);
}
CDebugChainedSessionItem.RemoveItem(child);
}, (e) => {
vscode.window.showErrorMessage(`Failed to launch chained configuration ${launch.name}: ${e}`);
CDebugChainedSessionItem.RemoveItem(child);
});
}, delay);
if (launch && launch.detached && (count > 0)) {
Expand Down

0 comments on commit eba7425

Please sign in to comment.