Open zziger opened 3 years ago
Client/server version
5.3 release
Current behavior Calling unloadYtyp freezes the game for around 5 seconds. Calling it multiple times crashes the game;
Expected behavior unloadYtyp should unload without a freeze, loadYtyp works instantly.
Steps to reproduce
// freeze alt.loadYtyp('x64c.rpf/levels/gta5/interiors/int_props/int_industrial.rpf/int_industrial.ytyp'); alt.unloadYtyp('x64c.rpf/levels/gta5/interiors/int_props/int_industrial.rpf/int_industrial.ytyp'); // crash for (let i = 0; i < 20; i++) alt.unloadYtyp('x64c.rpf/levels/gta5/interiors/int_props/int_industrial.rpf/int_industrial.ytyp');
can confirm this issue with the given sample
Client/server version
5.3 release
Current behavior Calling unloadYtyp freezes the game for around 5 seconds. Calling it multiple times crashes the game;
Expected behavior unloadYtyp should unload without a freeze, loadYtyp works instantly.
Steps to reproduce