diff options
author | Peter Grassberger <petertheone@gmail.com> | 2016-07-17 20:31:04 (GMT) |
---|---|---|
committer | Peter Grassberger <petertheone@gmail.com> | 2016-07-17 20:31:04 (GMT) |
commit | 10793b9fec7dde0fbb005c70923f96975c8ffcc2 (patch) | |
tree | 7211e74690c299d610cf0ff3664f3bbaa288ff6c /www/js/router.js | |
parent | 49aab5316d471542677f6be931da7c2ad14c3ef8 (diff) |
restructure socketlist, still in broken state.
Diffstat (limited to 'www/js/router.js')
-rw-r--r-- | www/js/router.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/www/js/router.js b/www/js/router.js index 6dd6744..9e11383 100644 --- a/www/js/router.js +++ b/www/js/router.js @@ -62,6 +62,7 @@ Rdxport.Router.prototype.route = function(page, subpage) { } }; } + importer.closeAllUploads(true); if (!rdxport) { rdxport = new Rdxport.Rdxport(this.auth.username, this.auth.token, '/rd-bin/rdxport.cgi'); rdxport.setListDropboxesEndpoint('/rh-bin/listdropboxes.cgi'); @@ -148,6 +149,7 @@ Rdxport.Router.prototype.logout = function() { musicgrid_cleanup(); this.auth.cleanup(); + importer.closeAllUploads(true); importer = null; rdxport = null; |