mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
The Windows embedder registers "message procedures" to handle to top-level window events. These message procedures should be called in the order that they are registered. For example, a plugin can override the embedder's app lifecycle behavior by registering a message procedure before the embedder's app lifecycle message procedure. This did not always work as expected as the message procedures were ordered by their pointers instead of their insertion order. Fixes https://github.com/flutter/flutter/issues/137963 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style