diff --git a/packages/renderer/src/lib/preferences/PreferencesConnectionActions.svelte b/packages/renderer/src/lib/preferences/PreferencesConnectionActions.svelte index a7e2451f130ec..c3618905eacd4 100644 --- a/packages/renderer/src/lib/preferences/PreferencesConnectionActions.svelte +++ b/packages/renderer/src/lib/preferences/PreferencesConnectionActions.svelte @@ -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, + }); } }