1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-30 00:00:11 +01:00

api: fix strange behaviour in Docker

This commit is contained in:
Steffen Vogel 2017-08-23 15:46:48 +02:00
parent cea8ad2877
commit d5b3c64583

View file

@ -140,6 +140,9 @@ int api_http_protocol_cb(struct lws *wsi, enum lws_callback_reasons reason, void
break;
case LWS_CALLBACK_CLOSED_HTTP:
if (!s)
break;
ret = api_session_destroy(s);
if (ret)
return -1;