MCPcopy Create free account
hub / github.com/DFHack/dfhack / cleanup

Method cleanup

library/modules/DFSteam.cpp:106–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106void DFSteam::cleanup(color_ostream& out) {
107 if (!g_steam_handle)
108 return;
109
110 if (g_SteamAPI_Shutdown)
111 g_SteamAPI_Shutdown();
112
113 ClosePlugin(g_steam_handle);
114 g_steam_handle = nullptr;
115
116 bind_all(out, nullptr);
117 g_steam_initialized = false;
118}
119
120#ifdef WIN32
121

Callers

nothing calls this directly

Calls 2

ClosePluginFunction · 0.85
bind_allFunction · 0.85

Tested by

no test coverage detected