Skip to content

GUI: Add null checks for TheMappedImageCollection before using it - #84

Open
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/nullcheckmappedimagecollection
Open

GUI: Add null checks for TheMappedImageCollection before using it#84
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/nullcheckmappedimagecollection

Conversation

@seer-by-sentry

Copy link
Copy Markdown

Fixes CLIENT-J4. The issue was that: Premature deletion of TheMappedImageCollection during game state transition causes null pointer dereference in findImageByName.

  • Added null checks for TheMappedImageCollection before using it to prevent potential crashes if the collection is not initialized or available.
  • This change ensures that the code gracefully handles cases where the image collection might be missing, avoiding access violations and improving the stability of the load screen functionality.

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

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