Skip to content

[APDM-551] Sync iOS callbacks context - #152

Merged
dmitriifeshchenko merged 1 commit into
release/4.1.0from
feature/APDM-551-sync-ios-callbacks-context
Apr 9, 2026
Merged

[APDM-551] Sync iOS callbacks context#152
dmitriifeshchenko merged 1 commit into
release/4.1.0from
feature/APDM-551-sync-ios-callbacks-context

Conversation

@dmitriifeshchenko

Copy link
Copy Markdown
Collaborator

No description provided.

Store Unity main thread at startup and extend UnityMainThreadDispatcher.Post
to invoke inline on the main thread, otherwise post via SynchronizationContext.
Route iOS P/Invoke callbacks through Post so listeners run on Unity thread
without an extra async hop when already on main.

Made-with: Cursor
@dmitriifeshchenko
dmitriifeshchenko merged commit 52d81bb into release/4.1.0 Apr 9, 2026
2 checks passed
@dmitriifeshchenko
dmitriifeshchenko deleted the feature/APDM-551-sync-ios-callbacks-context branch April 9, 2026 10:51
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