Skip to content

Commit

Permalink
fix: reset loggerhandlerKey after restarting machine (#5150)
Browse files Browse the repository at this point in the history
Signed-off-by: lstocchi <lstocchi@redhat.com>
  • Loading branch information
lstocchi authored and benoitf committed Dec 8, 2023
1 parent e039c07 commit e2ae3cd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ let connectionStatus: IConnectionStatus;
let noLog = true;
let connectionInfo: ProviderContainerConnectionInfo | undefined;
let providerInfo: ProviderInfo | undefined;
let loggerHandlerKey: symbol;
let loggerHandlerKey: symbol | undefined;
let configurationKeys: IConfigurationPropertyRecordedSchema[];
$: configurationKeys = properties
.filter(property => property.scope === 'ContainerConnection')
Expand Down Expand Up @@ -68,6 +68,7 @@ onMount(async () => {
status: connectionInfo.status,
};
startContainerProvider(providerInfo, connectionInfo, loggerHandlerKey);
loggerHandlerKey = undefined;
} else {
connectionStatus = {
inProgress: false,
Expand Down

0 comments on commit e2ae3cd

Please sign in to comment.