MCPcopy Create free account
hub / github.com/MyGUI/mygui / shutdown

Method shutdown

MyGUIEngine/src/MyGUI_ResourceManager.cpp:43–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 }
42
43 void ResourceManager::shutdown()
44 {
45 MYGUI_ASSERT(mIsInitialise, getClassTypeName() << " is not initialised");
46 MYGUI_LOG(Info, "* Shutdown: " << getClassTypeName());
47
48 FactoryManager::getInstance().unregisterFactory<ResourceImageSet>(mCategoryName);
49
50 clear();
51 unregisterLoadXmlDelegate(mCategoryName);
52 unregisterLoadXmlDelegate(mXmlListTagName);
53
54 mMapLoadXmlDelegate.clear();
55
56 MYGUI_LOG(Info, getClassTypeName() << " successfully shutdown");
57 mIsInitialise = false;
58 }
59
60 bool ResourceManager::load(const std::string& _file)
61 {

Callers

nothing calls this directly

Calls 3

getClassTypeNameFunction · 0.85
clearFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected