WebSockets: fix LWS_WITH_EXTERNAL_POLL check
This commit is contained in:
parent
522d6d769c
commit
6e5aeb57b3
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user