13
0

WebSockets: fix LWS_WITH_EXTERNAL_POLL check

This commit is contained in:
Luciano Iam 2020-05-08 14:20:40 +02:00 committed by Robin Gareus
parent 522d6d769c
commit 6e5aeb57b3
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -110,6 +110,10 @@ WebsocketsServer::WebsocketsServer (ArdourSurface::ArdourWebsockets& surface)
int
WebsocketsServer::start ()
{
if (_lws_context) {
stop ();
}
_lws_context = lws_create_context (&_lws_info);
if (!_lws_context) {