Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: push statusBarItem to subscriptions to be disposed correctly #49

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

lstocchi
Copy link
Contributor

@lstocchi lstocchi commented Jun 12, 2024

This PR just pushes the statusBaritem to subscriptions so when the extension gets disactivated the item gets disposed and removed from the statusBar. This prevents having duplicates.

It resolves #21

@lstocchi lstocchi requested review from benoitf and a team as code owners June 12, 2024 08:55
Copy link
Contributor

@jeffmaury jeffmaury left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lstocchi lstocchi merged commit ac80eb1 into podman-desktop:main Jun 12, 2024
4 checks passed
@lstocchi lstocchi deleted the i21 branch June 12, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When extension is stopped/restarted, message in status bar is duplicated
2 participants