Skip to content

Commit

Permalink
fix: don't start provider before it's stopped (podman-desktop#7268)
Browse files Browse the repository at this point in the history
Fixes crc-org/crc-extension#210

Signed-off-by: Jeff MAURY <[email protected]>
  • Loading branch information
jeffmaury authored May 23, 2024
1 parent f84a435 commit 3f76ac3
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,17 @@ async function restartConnectionProvider(
'/preferences/resources',
getLoggerHandler(provider, providerConnectionInfo),
);
addConnectionToRestartingQueue({
container: providerConnectionInfo.name,
provider: provider.internalId,
loggerHandlerKey,
});
await window.stopProviderConnectionLifecycle(
provider.internalId,
providerConnectionInfo,
loggerHandlerKey,
eventCollect,
);
addConnectionToRestartingQueue({
container: providerConnectionInfo.name,
provider: provider.internalId,
loggerHandlerKey,
});
}
}
Expand Down

0 comments on commit 3f76ac3

Please sign in to comment.