Skip to content

Commit

Permalink
Merge commit 'e77fd92'
Browse files Browse the repository at this point in the history
  • Loading branch information
sergi committed Oct 5, 2011
2 parents bcdee48 + e77fd92 commit 8904376
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/DAV/tree/ftp.js
Expand Up @@ -242,9 +242,11 @@ exports.jsDAV_Tree_Ftp = jsDAV_Tree_Ftp;
};

this.unmount = function() {
console.log("\r\nClosed connection to the server. Unmounting FTP tree.");
this.ftp.destroy();
this.ftp = null;
console.log("Closed connection to the server. Unmounting FTP tree.");
if (this.ftp) {
this.ftp.destroy();
this.ftp = null;
}
};

}).call(jsDAV_Tree_Ftp.prototype = new jsDAV_Tree());
Expand Down

0 comments on commit 8904376

Please sign in to comment.