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:
@ -106,6 +106,7 @@ int main(int argc, char *argv[])
|
||||
#endif
|
||||
}
|
||||
|
||||
mg_stop(ctx);
|
||||
printf("Bye!\n");
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user