From 7ca974a4f9ee7efe55a78881264099473d8b2d70 Mon Sep 17 00:00:00 2001 From: lstocchi Date: Wed, 21 Aug 2024 10:31:14 +0200 Subject: [PATCH] fix: position variable Signed-off-by: lstocchi --- src/extension.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension.ts b/src/extension.ts index 7436804..fbd9243 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -226,10 +226,10 @@ function registerProviderConnectionFactory( justInitialized = true; }, create: async (params, logger) => { - justInitialized = false; await presetChanged(provider, extensionContext, telemetryLogger); await saveConfig(params); if (params['crc.factory.start.now'] || justInitialized) { + justInitialized = false; await connectToCrc(); await createCrcVm(provider, extensionContext, telemetryLogger, logger); }