xshady
xshady
Fix of this issue can improve js development experience on alt:V, nothing more
if you have gamemode that eats 100mb of the heap on first resource start and if you do 10-20 reconnects (resource restarts) your game will freeze on each resource start...
and if this fix turns out to be possible, resource restart will be overboard?
this shit can happen again if client bundle already changed, but server bundle is old
temporarily completely fixed (with shitty workaround) in abdbf18da5b1f6390d02d154d8dbc3b7f424a874 (i hope so), but still waiting for a normal fix in altv-js-module
@LeonMrBonnie seems like handled exception with `process.on("uncaughtException")` in `setImmediate` even crashes v8 ```js process.on("uncaughtException", (error) => { console.log("uncaughtException", error.stack); }); setImmediate(() => { throw new Error('kek'); }); ```
> more info: POV thrower: everything is working as intended POV target: sees grenade/molotov flying, for grenades sees no explosion but gets dmg... for molotovs the fire on the ground...
Fixed in next dev
Still not visible on 15.0-dev353 ```js const radiusBlip = new alt.RadiusBlip(0.0, 5.0, 72.0, 300.0, true); radiusBlip.color = 37; console.log(radiusBlip.valid); // true ```