We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f28bfa9 commit 6fc73c1Copy full SHA for 6fc73c1
CHANGELOG.md
@@ -4,6 +4,7 @@
4
5
### Fixed
6
7
+- Issue [#377](https://github.com/DanielChappuis/reactphysics3d/issues/377) Fix assert when destroying an empty PhysicsWorld
8
- Issue [#378](https://github.com/DanielChappuis/reactphysics3d/issues/378) Fix issue with raycasting of HeightFieldShape
9
- Fix crash within testbed application in raycasting scene
10
include/reactphysics3d/containers/Deque.h
@@ -296,7 +296,10 @@ class Deque {
296
297
clear();
298
299
- if (mBuffer != nullptr && mCapacity > 0) {
+ if (mCapacity > 0) {
300
+
301
+ assert(mBuffer != nullptr);
302
303
// Release the chunks array
304
mAllocator.release(mBuffer, sizeof(T) * mCapacity);
305
}
0 commit comments