Skip to content

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

Merged
SanderMertens merged 1 commit into
SanderMertens:masterfrom
basicer:http-move-locks-check
Dec 11, 2024
Merged

Move threading check in HTTP server to start/stop methods.#1462
SanderMertens merged 1 commit into
SanderMertens:masterfrom
basicer:http-move-locks-check

Conversation

@basicer

@basicer basicer commented Dec 9, 2024

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Owner

Thanks for the PR!

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