1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

minimal: h-s-form-post: only delete the spa once

This commit is contained in:
Andy Green 2021-01-06 16:27:05 +00:00
parent aa45de9e2a
commit 52b87c9037

View file

@ -106,9 +106,6 @@ callback_http(struct lws *wsi, enum lws_callback_reasons reason, void *user,
lws_spa_get_string(pss->spa, n));
}
if (pss->spa && lws_spa_destroy(pss->spa))
return -1;
/*
* Our response is to redirect to a static page. We could
* have generated a dynamic html page here instead.