Open david20160 opened 3 years ago
Hello,
In order to exit from the server cleaning the way, may be doing this change in the line 1700:
while (1) {
change to
int nev = 0; while (1) { if (nev != -1) break; [delete int from the next line]
To quit the loop only it is needed:
int res = epoll_ctl (server->loop, EPOLL_CTL_DEL, 1, NULL); close (server->loop);
It can be more stylished but works.
How do you handle memory leaks after the close ?
Hello,
In order to exit from the server cleaning the way, may be doing this change in the line 1700:
change to
To quit the loop only it is needed:
It can be more stylished but works.