Commit c30db18
Fix memory leak on mesh collider destroy (#5106)
* Added `destroyShape` function to global system
* Use of `destroyShape`
* Fixed shape destruction on `recreatePhysicalShapes`
* Reverted extra line deleted
* Made shape null in `destroyShape`
* Added Ammo for testing modules requiring Ammo to work
* Added test for shape colliders destruction on collision component destroy
* Remove not relevant anymore comment
* Shortened shape destroying
Co-authored-by: Martin Valigursky <59932779+mvaligursky@users.noreply.github.com>
* Remove Ammo tests
* Remove Ammo tests
---------
Co-authored-by: Martin Valigursky <59932779+mvaligursky@users.noreply.github.com>1 parent ddbddaf commit c30db18
1 file changed
+9
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
| 86 | + | |
88 | 87 | | |
89 | 88 | | |
90 | 89 | | |
| |||
156 | 155 | | |
157 | 156 | | |
158 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
159 | 165 | | |
160 | 166 | | |
161 | 167 | | |
| |||
167 | 173 | | |
168 | 174 | | |
169 | 175 | | |
170 | | - | |
171 | | - | |
| 176 | + | |
172 | 177 | | |
173 | 178 | | |
174 | 179 | | |
| |||
514 | 519 | | |
515 | 520 | | |
516 | 521 | | |
517 | | - | |
518 | | - | |
519 | | - | |
520 | | - | |
521 | | - | |
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
| |||
0 commit comments