Browse Source

Update logs

Ensure setup/teardown is in correct order.
master
TheoryOfNekomata 1 year ago
parent
commit
e99e008a53
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/packages/game/IZ_app.c

+ 1
- 1
src/packages/game/IZ_app.c View File

@@ -71,9 +71,9 @@ IZ_AppInitializeResult IZ_AppInitialize(struct IZ_App* app, u8 argc, const char*
} }


void IZ_AppTeardown(struct IZ_App* app) { void IZ_AppTeardown(struct IZ_App* app) {
IZ_PoolTeardown(&app->pool);
IZ_LogInfo(IZ_LOG_CATEGORY_GLOBAL, "net", "Shutting down..."); IZ_LogInfo(IZ_LOG_CATEGORY_GLOBAL, "net", "Shutting down...");
IZ_NetClientDisconnect(&app->net_state); IZ_NetClientDisconnect(&app->net_state);
IZ_PoolTeardown(&app->pool);
IZ_InputTeardown(&app->input_state); IZ_InputTeardown(&app->input_state);
IZ_VideoTeardown(&app->video_state); IZ_VideoTeardown(&app->video_state);
IZ_LogInfo(IZ_LOG_CATEGORY_GLOBAL, "global", "Stopping %s...", IZ_APP_NAME); IZ_LogInfo(IZ_LOG_CATEGORY_GLOBAL, "global", "Stopping %s...", IZ_APP_NAME);


Loading…
Cancel
Save