You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
[linux] Wait for binding to be ready before requesting exits from framework (#41782)
## Description
Similar to #41733 and #41753 this causes the linux embedding to wait until it hears that the scheduler binding has registered itself before proceeding to send termination requests to the framework.
This allows applications that don't use the framework (just use `dart:ui` directly) to exit automatically when the last window is closed. Without this change, the app does not exit when the window is closed.
Depends on framework PR flutter/flutter#126075 landing first.
## Related PRs
- #41733
- #41753
## Related Issues
- flutter/flutter#126033.
## Tests
- Added a test to make sure that it doesn't send a termination request if the binding hasn't notified that it is ready yet.
0 commit comments