Commit 2d56df67 authored by Josef Gajdusek's avatar Josef Gajdusek Committed by Damien George
Browse files

esp8266: Initialize socket->connlist to NULL

This was causing crashes in .onconnect()
parent 57ebe1b2
......@@ -70,6 +70,7 @@ STATIC mp_obj_t esp_socket_make_new_base() {
s->cb_recv = mp_const_none;
s->cb_disconnect = mp_const_none;
s->fromserver = false;
s->connlist = NULL;
return s;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment