Permalink
Browse files

update jsdav

  • Loading branch information...
1 parent a4e5d0d commit cf9af6069e4c85010129e8aab620f4a1f34f59c5 @Rendez Rendez committed Jun 30, 2011
Showing with 6 additions and 2 deletions.
  1. +5 −1 server/cloud9/ide.js
  2. +1 −1 support/jsdav
View
@@ -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);
};
Submodule jsdav updated from f55444 to 605e86

0 comments on commit cf9af60

Please sign in to comment.