Skip to content

Commit

Permalink
update jsdav
Browse files Browse the repository at this point in the history
  • Loading branch information
Rendez committed Jun 30, 2011
1 parent a4e5d0d commit cf9af60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion server/cloud9/ide.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,13 @@ module.exports = Ide = function(options, httpServer, exts, socket) {
davOptions.node = options.ftp.path;
}

this.davServer = jsDAV.mount(davOptions);
var davServer = this.davServer = jsDAV.mount(davOptions);
this.davInited = false;

process.on("exit", function() {
davServer.unmount(); // End previous FTP connection.
});

this.registerExts(exts);
};

Expand Down
2 changes: 1 addition & 1 deletion support/jsdav
Submodule jsdav updated from f55444 to 605e86

0 comments on commit cf9af60

Please sign in to comment.