Skip to content

[tizen_app_control] Fix potential race issue - #1078

Open
seungsoo47 wants to merge 1 commit into
flutter-tizen:masterfrom
seungsoo47:tizen_app_control-fix-race-issue
Open

[tizen_app_control] Fix potential race issue#1078
seungsoo47 wants to merge 1 commit into
flutter-tizen:masterfrom
seungsoo47:tizen_app_control-fix-race-issue

Conversation

@seungsoo47

Copy link
Copy Markdown
Contributor

Subscribe to onAppControl before calling sendLaunchRequest() to avoid a potential race where broadcast-stream events could be missed.

Subscribe to `onAppControl` before calling `sendLaunchRequest()` to
avoid a potential race where broadcast-stream events could be missed.
@JSUYA

JSUYA commented Aug 7, 2026

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: 266005c5b1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@JSUYA JSUYA left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you clarify the specific scenario in which this issue occurs? The existing logic does not appear to have this problem. If the AppControl event arrives before Dart subscribes, the native embedder stores it in queue_ and delivers it when AppControl.onAppControl.first later subscribes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants