Skip to content

Logcleaner: Properly delete announcements#5726

Open
Bumber64 wants to merge 1 commit intoDFHack:developfrom
Bumber64:fix-logcleaner
Open

Logcleaner: Properly delete announcements#5726
Bumber64 wants to merge 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.

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.

1 participant