mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-21 01:13:43 +08:00
Added comment to https://github.com/cesanta/mongoose/pull/287
This commit is contained in:
parent
283af71bbf
commit
4eef5b14fb
@ -3613,6 +3613,7 @@ void mg_destroy_server(struct mg_server **server) {
|
||||
struct ll *lp, *tmp;
|
||||
|
||||
if (server != NULL && *server != NULL) {
|
||||
// Do one last poll, see https://github.com/cesanta/mongoose/issues/286
|
||||
mg_poll_server(*server, 0);
|
||||
closesocket((*server)->listening_sock);
|
||||
closesocket((*server)->ctl[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user