1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-13 13:01:55 +03:00

add flush() to unref() see #50

This commit is contained in:
Markus Sattler
2015-04-06 19:17:19 +02:00
parent 0276148613
commit 3bb2de4a85
2 changed files with 2 additions and 0 deletions

View File

@ -77,6 +77,7 @@ public:
DEBUGV(":ur %d\r\n", _refcnt);
if (--_refcnt == 0)
{
flush();
if (_pcb)
{
tcp_arg(_pcb, NULL);