Skip to content

Commit

Permalink
add flush() to unref() see #50
Browse files Browse the repository at this point in the history
  • Loading branch information
Links2004 committed Apr 6, 2015
1 parent 0276148 commit 3bb2de4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cores/esp8266/WString.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions libraries/ESP8266WiFi/src/include/ClientContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class ClientContext
DEBUGV(":ur %d\r\n", _refcnt);
if (--_refcnt == 0)
{
flush();
if (_pcb)
{
tcp_arg(_pcb, NULL);
Expand Down

0 comments on commit 3bb2de4

Please sign in to comment.