瀏覽代碼

Update logs

Ensure setup/teardown is in correct order.
master
TheoryOfNekomata 1 年之前
父節點
當前提交
e99e008a53
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/packages/game/IZ_app.c

+ 1
- 1
src/packages/game/IZ_app.c 查看文件

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

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


Loading…
取消
儲存