MCPcopy Create free account
hub / github.com/crownengine/crown / shutdown

Function shutdown

src/device/graph.cpp:767–785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

765 }
766
767 void shutdown()
768 {
769#if CROWN_DEBUG
770 // Destroy all graphs
771 ListNode *cur;
772 ListNode *tmp;
773 list_for_each_safe(cur, tmp, &_graphs)
774 {
775 Graph *graph = (Graph *)container_of(cur, Graph, _node);
776 CE_DELETE(default_allocator(), graph);
777 }
778
779 CE_DELETE(*_allocator, _lines);
780 _lines = NULL;
781 _allocator = NULL;
782#else
783 CE_NOOP();
784#endif
785 }
786
787 void draw_all(u16 window_width, u16 window_height)
788 {

Callers 6

main_loopMethod · 0.70
main_runtimeFunction · 0.70
~InitGlobalsMethod · 0.70
~InitGlobalsMethod · 0.70
android_mainFunction · 0.70
~InitGlobalsMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected