Skip to content

DX8Renderer: Prevent list corruption during DX8TextureCategoryClass destruction - #136

Open
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/dx8renderer-list-corruption
Open

DX8Renderer: Prevent list corruption during DX8TextureCategoryClass destruction#136
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/fix/dx8renderer-list-corruption

Conversation

@seer-by-sentry

Copy link
Copy Markdown

Fixes CLIENT-WF. The issue was that: Multilist corruption occurs when DX8TextureCategoryClass destructor iterates while nested calls modify the same list, causing Access Violation Read.

  • Clear texture_category pointer for all polygon renderers before unregistering meshes.
  • Use Remove_Head instead of Get_Head to properly remove elements from the PolygonRendererList.

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 2974069

Not quite right? Click here to continue debugging with Seer.

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.

0 participants