refactor: Fix memory leak caused by allocating Vector, QAngle, etc. class objects#1182
refactor: Fix memory leak caused by allocating Vector, QAngle, etc. class objects#1182roflmuffin merged 3 commits intoroflmuffin:mainfrom
Vector, QAngle, etc. class objects#1182Conversation
|
I think this concept seems sound to me, converting to handles only as required. I'll just run some tests on my end. |
Vector, QAngle, etc. class objects
|
Happy to merge and release @ELDment? |
of course 🎉 |
|
its been a while for me, layout-wise it might be okay but wouldn't there be issues if the variable isn't allocated using memalloc? |
imo, we don’t need in that case the allocator is irrelevant, not sure |
Performs well on Windows with no noticeable memory leaks or CPU overhead increase
Backward compatibility tested with no issues
Maybe this is just a draft? i'm not sure, there might be a better way, idk
If it is good to go, please merge, lol