mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-23 11:44:53 +00:00
Print crash record optionally
This commit is contained in:
1 parent
1b0906510b
commit
3aa5f2a1fd
9 files changed
+119
-76
No files matched your search
@@ -300,6 +300,9 @@ void mg_mgr_free(struct mg_mgr *mgr) {
|
||||
mgr->timers = NULL; // Important. Next call to poll won't touch timers
|
||||
for (c = mgr->conns; c != NULL; c = c->next) c->is_closing = 1;
|
||||
mg_mgr_poll(mgr, 0);
|
||||
#if MG_ENABLE_MDASH
|
||||
mg_mdash_free(mgr);
|
||||
#endif
|
||||
#if MG_ENABLE_FREERTOS_TCP
|
||||
FreeRTOS_DeleteSocketSet(mgr->ss);
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user