multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.3k stars 412 forks source link

Fix engineSetPoolCapacity conflicts with removeWorldModel #3466

Closed TheNormalnij closed 1 week ago

TheNormalnij commented 2 weeks ago

Includes commit from #3462

Fixes crash when engineSetPoolCapacity is used after removeWorldModel

Fixes hiddden memory leak in building removal logic