Skip to content

Commit

Permalink
fix creation log disappearance
Browse files Browse the repository at this point in the history
Signed-off-by: Yevhen Vydolob <[email protected]>
  • Loading branch information
evidolob authored and gbraad committed Aug 1, 2023
1 parent 23c5a54 commit f02f5b4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,15 +272,15 @@ async function createCrcVm(
}
}

if (connectionFactoryDisposable) {
connectionFactoryDisposable.dispose();
}

const hasStarted = await startCrc(provider, logger, telemetryLogger);
if (!connectionDisposable && hasStarted) {
addCommands(telemetryLogger);
presetChanged(provider, extensionContext, telemetryLogger);
}

if (connectionFactoryDisposable) {
connectionFactoryDisposable.dispose();
}
}

async function initializeCrc(
Expand Down

0 comments on commit f02f5b4

Please sign in to comment.