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.38k stars 424 forks source link

svgCreate causes random crashes #2456

Open flashmta opened 2 years ago

flashmta commented 2 years ago

Describe the bug

svgCreate crashes the game randomly when calling the function multiple times

To reproduce

/start svgtest svgtest.zip

Screenshots

Przechwytywanie

Version

Multi Theft Auto v1.5.9-release-21048

patrikjuvonen commented 2 years ago

cc @Lpsd

Lpsd commented 2 years ago

pretty sure I already have the fix to this - I'll check again and submit PR shortly