Changeset 1019

Show
Ignore:
Timestamp:
07/31/08 08:24:58 (1 month ago)
Author:
MaierMan
Message:

Free some more memory

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/chrome/content/dta/manager.js

    r1016 r1019  
    13571357        _completeEvents: [], 
    13581358        complete: function QI_complete(exception) { 
     1359                for each (let a in 'speeds', 'chunks') { 
     1360                        delete this[a]; 
     1361                        this[a] = []; 
     1362                } 
    13591363                if (exception) { 
    13601364                        this.fail(_("accesserror"), _("permissions") + " " + _("destpath") + ". " + _("checkperm"), _("accesserror")); 
     
    13791383                        return; 
    13801384                } 
    1381                 this.chunks = [];                
    13821385                this.activeChunks = 0; 
    13831386                this.state = COMPLETE; 
    13841387                this.status = TEXT_COMPLETE; 
     1388                this.visitors = new VisitorManager(); 
    13851389        }, 
    13861390        rebuildDestination: function QI_rebuildDestination() { 
     
    18491853                        this._outStream.flush(); 
    18501854                        this._outStream.close(); 
    1851                         delete this._outStream; 
    18521855                } 
    18531856                this._buffered = 0;