Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : How to store DOM in a controller without create memory leak ?

$
0
0
What about if you have a can.Control (MasterControl) that instantiates some other can.Control like so:
  1. this.superCoolControl = new SuperCool( "#supercool", { } );

MasterControl has a reference to the instance of SuperCool. When SuperCool is destroyed does this cause a problem?

Viewing all articles
Browse latest Browse all 3491

Trending Articles