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

Catch dbus errors so that WatchAsync can register all names #12377

Merged
merged 1 commit into from
Jul 30, 2023

Conversation

ThereGoesMySanity
Copy link
Contributor

@ThereGoesMySanity ThereGoesMySanity commented Jul 29, 2023

What does the pull request do?

Fixes #12371

What is the current behavior?

for loop exits early due to exception calling GetNameOwnerAsync and doesn't register every name.

What is the updated/expected behavior with this PR?

Catch exceptions from GetNameOwnerAsync so the for loop can continue

Checklist

Breaking changes

Obsoletions / Deprecations

Fixed issues

Fixes #12371

@avaloniaui-team
Copy link
Contributor

You can test this PR using the following package version. 11.0.999-cibuild0038225-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@kekekeks kekekeks added this pull request to the merge queue Jul 30, 2023
Merged via the queue into AvaloniaUI:master with commit 6a80ef8 Jul 30, 2023
@ThereGoesMySanity ThereGoesMySanity deleted the dbus-fallback-fix branch July 30, 2023 19:04
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.

Fcitx5 causes crash due to missing dbus name
3 participants