Merged threads on Linux
Learn about the threading changes on Linux in Flutter 3.39.
Summary
#Flutter 3.39 merges the UI and platform threads by default on Linux.
Context
#Originally, Flutter had separate threads to produce UI frames and to interact with the native platform.
The split-thread design prevented Flutter apps and plugins from using Dart FFI to interoperate with native APIs that must be called on the platform thread.
Description of change
#Flutter version 3.39 merges the UI and platform threads by default on Linux.
This mirrors all the other platforms, whose threads were merged by default in Flutter 3.29 (iOS and Android) and 3.35 (macOS and Windows).
Migration guide
#Merged threads shouldn't affect your app.
If you suspect merged threads have caused regressions to your app, please reach out on Issue 150525.
Timeline
#
Landed in version: 3.39.0-0.1.pre
In stable release: Not yet
References
#Relevant issue:
Relevant PRs:
除非另有说明,本文档之所提及适用于 Flutter 3.38.1 版本。本页面最后更新时间:2025-11-20。查看文档源码 或者 为本页面内容提出建议。