MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / on_unload

Method on_unload

samples/application/game/src/game_module.cpp:1015–1025  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1013}
1014
1015void SGameModule::on_unload()
1016{
1017 g_game_module = nullptr;
1018 SKR_LOG_INFO(u8"game unloaded!");
1019 if (bUseJob)
1020 {
1021 sugoiJ_unbind_storage(game_world);
1022 scheduler.unbind();
1023 }
1024 uninstallResourceFactories();
1025}

Callers

nothing calls this directly

Calls 2

sugoiJ_unbind_storageFunction · 0.85
unbindMethod · 0.45

Tested by

no test coverage detected