diff --git a/code/apps/server/source/main.c b/code/apps/server/source/main.c index a631a0a..5d08ef0 100644 --- a/code/apps/server/source/main.c +++ b/code/apps/server/source/main.c @@ -72,11 +72,11 @@ int main(int argc, char** argv) { world_update(); } - zpl_printf("Bye!\n"); IF(network_server_stop()); IF(network_destroy()); IF(world_destroy()); sighandler_unregister(); + zpl_printf("Bye!\n"); return 0; }