called from the main thread after the main event loops exits
| 67 | |
| 68 | // called from the main thread after the main event loops exits |
| 69 | DFhackCExport 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 |
| 76 | DFhackCExport void dfhooks_update() { |