Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ cleanup_state
Function
cleanup_state
plugins/autolabor/labormanager.cpp:323–328 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
321
}
322
323
static void cleanup_state()
324
{
325
enable_labormanager = false;
326
labor_infos.clear();
327
initialized = false;
328
}
329
330
static void reset_labor(df::unit_labor labor)
331
{
Callers
3
enable_plugin
Function · 0.70
command_result plugin_shutdown
Function · 0.70
command_result plugin_onstatechange
Function · 0.70
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected