From 890e516f3a6d8a0c7a7d19eea2d755e71d5883dd Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 1 Mar 2021 16:31:05 +0100 Subject: [PATCH] Fix shared folder stuck offline --- www/common/outer/team.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/outer/team.js b/www/common/outer/team.js index c6e275e6d..f959ee11b 100644 --- a/www/common/outer/team.js +++ b/www/common/outer/team.js @@ -126,6 +126,7 @@ define([ team.proxy = {}; team.stopped = true; delete ctx.teams[teamId]; + delete ctx.cache[teamId]; delete ctx.store.proxy.teams[teamId]; ctx.emit('LEAVE_TEAM', teamId, team.clients); ctx.updateMetadata(); @@ -327,7 +328,6 @@ define([ nThen(function (waitFor) { // Load the shared folders ctx.teams[id] = team; - delete ctx.cache[id]; registerChangeEvents(ctx, team, proxy); var network = ctx.store.network || ctx.store.networkPromise; SF.loadSharedFolders(ctx.Store, network, team,