Closed ycaibb closed 3 years ago
Hi, the upstream for EmbeddableWebServer is this repository so if you wish, you can report it there. Anyways, I am not sure if this can be considered as a bug - there can be as well assert or abort, which could be perhaps better. But from my perspective, calling stop on non-running server is a logic error. It is true, that while it continues, it shall be unlocked, anyways.
@MartinPulec Thank you for your reply. Indeed, just looking at the code, the lock server
should be released anyways.
I would also report this to upstream.
Fixed, thanks for reporting!
Hi, developers, thank you for your checking. It seems the lock
server
is not released correctly when!server->initialize
in the functionserverStop
?https://github.com/CESNET/UltraGrid/blob/e3c926c8ff67586bf74c4cc0763a78c83ede9cf6/src/EmbeddableWebServer.h#L1516-L1525