peerigon / alamid

Framework for RESTful JavaScript web applications that run both on the server- and clientside.
http://www.alamidjs.com
MIT License
23 stars 3 forks source link

Empty nodeMap on dispose #136

Closed jhnns closed 11 years ago

jhnns commented 11 years ago

The nodeMap should be emptied (all references nulled explicetly) when a DisplayObject is disposed because I'm not quite sure if someone would produce a memory leak if he keeps a reference to the nodeMap like

    __nodeMap: null,
    init: function () {
        this.__nodeMap = this.Super()._getNodeMap();
    }