Skip to content

Logcleaner: Properly delete announcements#5726

Merged
ab9rf merged 1 commit intoDFHack:developfrom
Bumber64:fix-logcleaner
Mar 1, 2026
Merged

Logcleaner: Properly delete announcements#5726
ab9rf merged 1 commit intoDFHack:developfrom
Bumber64:fix-logcleaner

Conversation

@Bumber64
Copy link
Contributor

Remove deleted reports from the announcement vector to prevent dangling pointers.

I haven't tested this code. It's an emergency fix before the update goes out.

@Bumber64
Copy link
Contributor Author

Bumber64 commented Mar 1, 2026

Seems to be removing announcements properly.

I noticed that the plugin removes every single unit report the instant it's enabled, even while paused. I think the "ticks" its counting are actually frames. You'll never read a single sparring report as long as logcleaner is enabled.

@ab9rf ab9rf merged commit a3ac172 into DFHack:develop Mar 1, 2026
14 checks passed
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