Changeset 1089

Show
Ignore:
Timestamp:
2008-09-12 14:18:01 (2 months ago)
Author:
MaierMan
Message:

completely kill tmpfile (reinit)

Files:

Legend:

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

    r1083 r1089  
    16761676         
    16771677        removeTmpFile: function QI_removeTmpFile() { 
    1678                 if (!this.tmpFile.exists()) { 
    1679                         return; 
    1680                 } 
    1681                 try { 
    1682                         this.tmpFile.remove(false); 
    1683                 } 
    1684                 catch (ex) { 
    1685                        Debug.log("failed to remove tmpfile: " + this.tmpFile.path, ex); 
    1686                 } 
     1678                if (!!this._tmpFile && this._tmpFile.exists()) { 
     1679                        try { 
     1680                               this._tmpFile.remove(false); 
     1681                       } 
     1682                        catch (ex) { 
     1683                               Debug.log("failed to remove tmpfile: " + this.tmpFile.path, ex); 
     1684                       } 
     1685                } 
     1686                this._tmpFile = null; 
    16871687        }, 
    16881688        sessionConnections: 0,