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

sntiagomoreno picture sntiagomoreno  路  3Comments

samueller picture samueller  路  3Comments

lunabunn picture lunabunn  路  3Comments

courtneyvigo picture courtneyvigo  路  3Comments

Vardner picture Vardner  路  3Comments