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

Function dfhooks_shutdown

library/Hooks.cpp:69–73  ·  view source on GitHub ↗

called from the main thread after the main event loops exits

Source from the content-addressed store, hash-verified

67
68// called from the main thread after the main event loops exits
69DFhackCExport void dfhooks_shutdown() {
70 if (disabled)
71 return;
72 DFHack::Core::getInstance().Shutdown();
73}
74
75// called from the simulation thread in the main event loop
76DFhackCExport void dfhooks_update() {

Callers

nothing calls this directly

Calls 1

ShutdownMethod · 0.80

Tested by

no test coverage detected