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

Function cleanup

plugins/work-now.cpp:41–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41static void cleanup() {
42 EventManager::unregister(EventManager::EventType::JOB_COMPLETED, handler);
43}
44
45DFhackCExport command_result plugin_enable(color_ostream &out, bool enable) {
46 if (!Core::getInstance().isMapLoaded() || !World::isFortressMode()) {

Callers 3

ShutdownMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected