brianchirls / Seriously.js

A real-time, node-based video effects compositor for the web built with HTML5, Javascript and WebGL
MIT License
3.87k stars 354 forks source link

Destorying Seriously instance fails to clean up node objects #92

Closed brianchirls closed 9 years ago

brianchirls commented 9 years ago

When nodes are destroyed individually, all methods are converted to "nop" - functions that do nothing, so you can't perform operations that would fail without the properties and methods that have been cleaned up.

But calling destroy on the Seriously composition instance doesn't do this, so if, for example, you try to render a node after the composition has been destroyed, it may throw an error.