MCPcopy Create free account
hub / github.com/defold/defold / ProfilerBasic_AppFinalize

Function ProfilerBasic_AppFinalize

engine/profiler/src/basic/profiler_basic.cpp:1035–1042  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1033}
1034
1035static dmExtension::Result ProfilerBasic_AppFinalize(dmExtension::AppParams* params)
1036{
1037 if (dmExtension::AppParamsGetAppExitCode(params) == dmExtension::APP_EXIT_CODE_EXIT)
1038 {
1039 ProfileUnregisterProfiler(g_ProfilerName);
1040 }
1041 return dmExtension::RESULT_OK;
1042}
1043
1044DM_DECLARE_EXTENSION(ProfilerBasic, g_ProfilerName, ProfilerBasic_AppInitialize, ProfilerBasic_AppFinalize, 0, 0, 0, 0);

Callers

nothing calls this directly

Calls 2

AppParamsGetAppExitCodeFunction · 0.85

Tested by

no test coverage detected