Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: only remove logging channels if we added them #5828

Merged
merged 3 commits into from
Jan 19, 2025

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Jan 16, 2025

The backing channels for channel-views in usercards have a name set. So when we close them, they will attempt to close all logging channels with that name. This PR fixes that by only closing a logging channel if we ever added anything to it (i.e. if we created the channel).

@pajlada pajlada enabled auto-merge (squash) January 19, 2025 12:38
@pajlada pajlada merged commit 1ec1377 into Chatterino:master Jan 19, 2025
18 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Opening Usercard Sending Stop and Start logging messages in Logs
2 participants