mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Messages sent to the embedder host may be one-way messages with no response handler. If the host calls FlutterEngineSendPlatformMessageResponse on a one-way message, then just delete the message response handle. Also update the documentation to indicate that FlutterEngineSendPlatformMessageResponse must be called for all messages. Previously the docs implied that some FlutterPlatformMessage objects may have a null response_handle. The embedder will now set a response_handle for every message (even if the sender does not expect a response).