MCPcopy Create free account
hub / github.com/axmolengine/axmol / onExit

Method onExit

tests/cpp-tests/Source/ImGuiTest/ImGuiTest.cpp:41–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void ImGuiTest::onExit()
42{
43 ImGuiPresenter::getInstance()->removeRenderLoop("#test");
44 ImGuiPresenter::getInstance()->clearFonts();
45
46# if !defined(__ANDROID__)
47 SDFGen::getInstance()->close();
48# endif
49 ImGuiPresenter::destroyInstance();
50
51 SpriteFrameCache::getInstance()->removeUnusedSpriteFrames();
52
53 TestCase::onExit();
54}
55
56void ImGuiTest::onDrawImGui()
57{

Callers

nothing calls this directly

Calls 5

getInstanceFunction · 0.85
removeRenderLoopMethod · 0.80
clearFontsMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected