Open ZuratonE opened 7 years ago
TivaC core has bee separated from the IDE and is now located at: https://github.com/energia/tivac-core.
There was indeed an issue here. Although simply assigning NULL to cpcb does not free it. Hence I added a free to it. I will incorporate this into the next release.
isn't it freed in the irq?
patch fixes this situation:
EthernetClient a,b;
a.connect("1.1.1.1",0); //fail, cs->cpcb pointer not cleared b.connect("google.com",80); //ok if(a.connected()) a.disconnect(); //spoils b connection