1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-07-29 21:01:13 +03:00

Example for C: stop the server when the application exits

This commit is contained in:
bel
2014-09-23 21:24:23 +02:00
parent 665dd8ac41
commit fa73c09d92

View File

@ -106,6 +106,7 @@ int main(int argc, char *argv[])
#endif
}
mg_stop(ctx);
printf("Bye!\n");
return 0;