Skip to content

Conversation

@JSUYA
Copy link
Member

@JSUYA JSUYA commented Nov 10, 2025

If the return type is non-void, the callback is created only as a blocking API.
The blocking API internally calls Dart_PostCObject_DL() and performs thread blocking. Because thread is blocked, Dart_PostCObject_DL() cannot be receiving message, so leading to a deadlock.
Therefore, callback APIs with non-void return types must be called from a separate Isolate.
Since there is no guidance on this, I am adding the relevant information.

@JSUYA JSUYA merged commit bc61af3 into flutter-tizen:main Nov 11, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants