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

On a merged UI/platform thread, immediately execute platform message handlers and then run microtasks #55933

Merged
merged 1 commit into from
Oct 18, 2024

Commits on Oct 17, 2024

  1. On a merged UI/platform thread, immediately execute platform message …

    …handlers and then run microtasks
    
    Shell::OnPlatformViewDispatchPlatformMessage is called on the platform thread
    and must invoke the message handler on the UI thread.  If the platform and UI
    threads are merged, then the handler can be run immediately.  The shell can
    then post an empty task to the UI thread to make the UI message loop run the
    task observer that drains the microtask queue.
    
    Fixes flutter/flutter#156595
    jason-simmons committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    abb5fd7 View commit details
    Browse the repository at this point in the history