forked from firka/flutter
c6cbbc775cc753b02f01f97d1f4b74dcf3ef0023
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 https://github.com/flutter/flutter/issues/156595
On a merged UI/platform thread, immediately execute platform message handlers and then run microtasks (flutter/engine#55933)
Description
No description provided
Languages
Dart
75.4%
C++
16.4%
Objective-C++
2.7%
Java
2.7%
Objective-C
0.6%
Other
1.8%