MCPcopy Create free account
hub / github.com/RevoSucks/BM64Recomp / deinit_hook

Function deinit_hook

src/ui/ui_state.cpp:781–789  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

779}
780
781void deinit_hook() {
782 recompui::destroy_all_contexts();
783
784 std::lock_guard lock {ui_state_mutex};
785 Rml::Debugger::Shutdown();
786 Rml::Shutdown();
787 ui_state->unload();
788 ui_state.reset();
789}
790
791void recompui::set_render_hooks() {
792 RT64::SetRenderHooks(init_hook, draw_hook, deinit_hook);

Callers

nothing calls this directly

Calls 2

unloadMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected