Pixi.js: FilterState retains destroyed sprites

Created on 26 Apr 2017  ·  3Comments  ·  Source: pixijs/pixi.js

Steps

  • Take heap snapshot
  • add some bunny
  • take heap snapshot
  • destroy bunnies container
  • collect garbage
  • take an heap snapshot
  • filter by "Objects allocated between Snapshow 1 and Snapshot 2"

Some destroyed sprites (and related resources like _boundsRect) are retained by FilterState
test

test.zip

🔍 Needs Investigation 🕷 Bug

Most helpful comment

Good catch, thanks for the steps and test case. Hopefully we can take care of this soon.

All 3 comments

Good catch, thanks for the steps and test case. Hopefully we can take care of this soon.

Hi @englercj, @lucap86 - can you check my PR for this issue?

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

samueller picture samueller  ·  3Comments

madroneropaulo picture madroneropaulo  ·  3Comments

Vardner picture Vardner  ·  3Comments

gigamesh picture gigamesh  ·  3Comments

courtneyvigo picture courtneyvigo  ·  3Comments