Skip to content

Conversation

@Xenius97
Copy link
Contributor

This PR fixes the following crash when game shuts down:

Fatal Exception: Yes
Stack trace:
  0x49646550 [0x49646550]
  0x409172 [lookup failed] [0x409172]
  0x156D017 [lookup failed] [0x156D017]
  CClientIMG::StreamDisable (F:\Git\mtasa-blue\Client\mods\deathmatch\logic\CClientIMG.cpp:195) [0x65BD1411]

When the game shuts down there is no reason to do anything with IMG containers, because the entire process is exiting and all memory is freed anyway.

@Xenius97 Xenius97 changed the title Fix CClientIMG::StreamDisable when game shutting down Fix CClientIMG::StreamDisable crash when game shutting down Nov 17, 2025
@FileEX FileEX added the bugfix Solution to a bug of any kind label Nov 22, 2025
@Xenius97 Xenius97 changed the title Fix CClientIMG::StreamDisable crash when game shutting down Fix img crash when game shutting down Nov 22, 2025
@Xenius97 Xenius97 requested a review from FileEX November 22, 2025 22:02
@Xenius97 Xenius97 closed this by deleting the head repository Nov 23, 2025
@Xenius97 Xenius97 reopened this Nov 23, 2025
@FileEX FileEX merged commit 4ca27f5 into multitheftauto:master Nov 23, 2025
MTABot pushed a commit that referenced this pull request Nov 23, 2025
4ca27f5 Fix img crash when game shutting down (#4551)
f2d2cc3 Visual Studio Update
6855e41 Update client en_US pot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Solution to a bug of any kind

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants