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

pyportaltests: work around potential session close timeout failures #168

Merged
merged 1 commit into from
Oct 23, 2024

Commits on Oct 10, 2024

  1. pyportaltest: Allow registering a session close callback

    This works around a race condition where test_close_session_signal
    registers a callback but on slow systems the Close signal may be sent
    before said callback can be registered.
    
    Note that we need to keep the returned SessionResult alive so the
    XdpSession isn't cleaned up by the Python GC before we finish the test.
    
    Closes flatpak#166
    whot committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    e506491 View commit details
    Browse the repository at this point in the history