mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-10 13:04:23 -04:00
Add caveat to docs about bufferevent_free() with data in outbuf
Based on libevent-users thread wtih Alexander Klauer
This commit is contained in:
parent
371efebdc3
commit
6fab9eef8f
@ -277,6 +277,9 @@ int bufferevent_priority_set(struct bufferevent *bufev, int pri);
|
|||||||
/**
|
/**
|
||||||
Deallocate the storage associated with a bufferevent structure.
|
Deallocate the storage associated with a bufferevent structure.
|
||||||
|
|
||||||
|
If there is pending data to write on the bufferevent, it probably won't be
|
||||||
|
flushed before the bufferevent is freed.
|
||||||
|
|
||||||
@param bufev the bufferevent structure to be freed.
|
@param bufev the bufferevent structure to be freed.
|
||||||
*/
|
*/
|
||||||
void bufferevent_free(struct bufferevent *bufev);
|
void bufferevent_free(struct bufferevent *bufev);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user