mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-04 18:03:20 +03:00
add flush() to unref() see #50
This commit is contained in:
parent
0276148613
commit
3bb2de4a85
@ -33,6 +33,7 @@
|
||||
class StringSumHelper;
|
||||
|
||||
typedef char* __FlashStringHelper;
|
||||
//#define F(str) []() -> const char * { static const char tmp[] ICACHE_RODATA_ATTR = str; return &tmp[0]; }()
|
||||
#define F(str) str
|
||||
|
||||
// The string class
|
||||
|
@ -77,6 +77,7 @@ public:
|
||||
DEBUGV(":ur %d\r\n", _refcnt);
|
||||
if (--_refcnt == 0)
|
||||
{
|
||||
flush();
|
||||
if (_pcb)
|
||||
{
|
||||
tcp_arg(_pcb, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user