Design Build Play Posted March 7, 2014 Share Posted March 7, 2014 This maybe more of a specific backbonejs question but...I building a backbonejs project with multiple views and different canvas's per view (one being a PIXI canvas another THREEJS).I'm having trouble destroying the canvas from the previous view state, when switching views the previous canvas is still ticking over in the memory and not removed with the view I render my views like so... (removing this.view is there, to do a clean render) slides: function () { if(this.view) { this.view.remove(); } this.view = new Slides() // THE SLIDE SCREEN}, This seems to destroy the view but not the canvas element inside of that view. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.