dfhack
dfhack copied to clipboard
change `Core`'s lifecycle
instead of having Core be a static singleton with indeterminate construction and destruction sequencing, make Core's instance lifecycle explicit by tying it to dfhooks_init and dfhooks_shutdown