Commit f2433a7
committed
Fix trimesh memory leaking
It looks like the trimesh objects have reference loops in them and so
are not being cleared by the per-frame `gc.collect(0)`. Run a full
collection if we have thrown any model objects.1 parent 2e94e2a commit f2433a7
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | | - | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
330 | 333 | | |
331 | 334 | | |
332 | 335 | | |
| |||
0 commit comments