reactphysics3d
reactphysics3d copied to clipboard
Validate Deque mBuffer before releasing the chunks array
added validation to check the mBuffer is not nulltpr and the mCapacity isn't zero before calling mAllocator.release, this prevent crash on calling the destructor on empty buffer