Skip to content

change Core's lifecycle#5684

Open
ab9rf wants to merge 1 commit into
DFHack:developfrom
ab9rf:core-lifecycle
Open

change Core's lifecycle#5684
ab9rf wants to merge 1 commit into
DFHack:developfrom
ab9rf:core-lifecycle

Conversation

@ab9rf

@ab9rf ab9rf commented Dec 11, 2025

Copy link
Copy Markdown
Member

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

@ab9rf ab9rf marked this pull request as ready for review April 16, 2026 02:15
@dhthwy

dhthwy commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Good improvement

@ab9rf

ab9rf commented Jul 11, 2026

Copy link
Copy Markdown
Member Author

I hate git.

@ab9rf ab9rf force-pushed the core-lifecycle branch 2 times, most recently from 867acf3 to 56e0239 Compare July 11, 2026 20:56
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`

(squashed patch)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants