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

Make sure the Host Registry XdpAppInfo updates become visible #1652

Merged
merged 1 commit into from
Feb 26, 2025

Conversation

swick
Copy link
Collaborator

@swick swick commented Feb 25, 2025

The invocations are currently delegated to threads which means that the next invocation gets run before the first one finished. This is fine for all the other portals, but because the Registry modifies the identity of the caller for all following calls, we must ensure that it finishes before the next invocation. This means in particular no g-authorize-method and no FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD.

The invocations are currently delegated to threads which means that the
next invocation gets run before the first one finished. This is fine for
all the other portals, but because the Registry modifies the identity of
the caller for all following calls, we must ensure that it finishes
before the next invocation. This means in particular no
g-authorize-method and no FLAGS_HANDLE_METHOD_INVOCATIONS_IN_THREAD.
@swick
Copy link
Collaborator Author

swick commented Feb 25, 2025

Should probably add a test for it as well.

Copy link
Contributor

@grulja grulja left a comment

Choose a reason for hiding this comment

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

Tested and verified with Firefox.

@jadahl jadahl added this pull request to the merge queue Feb 26, 2025
Merged via the queue into flatpak:main with commit e71bb95 Feb 26, 2025
5 checks passed
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.

3 participants