diff options
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; |