Skip to content

file: apply SDL dialog result on main thread#296

Open
RobLoach wants to merge 1 commit into
masterfrom
fix-sdl-dialog-thread
Open

file: apply SDL dialog result on main thread#296
RobLoach wants to merge 1 commit into
masterfrom
fix-sdl-dialog-thread

Conversation

@RobLoach

Copy link
Copy Markdown
Owner

SDL may invoke the dialog callback off the main thread, so stage the selected path and apply it via SDL_RunOnMainThread. Fixes #290

@RobLoach RobLoach closed this Jul 20, 2026
@RobLoach RobLoach reopened this Jul 20, 2026
@RobLoach

Copy link
Copy Markdown
Owner Author

Fix conflicts

@RobLoach
RobLoach marked this pull request as draft July 20, 2026 03:16
@RobLoach RobLoach self-assigned this Jul 21, 2026
@RobLoach
RobLoach force-pushed the fix-sdl-dialog-thread branch from c512a75 to 38892b4 Compare July 21, 2026 02:25
@RobLoach
RobLoach marked this pull request as ready for review July 21, 2026 02:25
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.

file: SDL3 dialog callback may run off the main thread

1 participant