Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move threading check in HTTP server to start/stop methods. #1462

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

basicer
Copy link
Contributor

@basicer basicer commented Dec 9, 2024

When using the flecs_explorer_request hook from wasm with FLECS_NO_OS_API_IMPL set, the lack of threading support prevents the http server from being created. We don't need lock support if we don't plan to actually launch the resulting server, so move the check that we have that support to starting/stopping the server.

When using the flecs_explorer_request hook from wasm with FLECS_NO_OS_API_IMPL
set, the leack of threading support prevents the http server from being
created. We dont need lock support if we don't plan to actually launch the
resulting server, so move the check that we have that support to starting/stopping
the server.
@SanderMertens
Copy link
Owner

Thanks for the PR!

@SanderMertens SanderMertens merged commit b5b285d into SanderMertens:master Dec 11, 2024
72 checks 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