Fix shared folder stuck offline

pull/1/head
yflory 4 years ago
parent a2959b2561
commit 890e516f3a

@ -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,

Loading…
Cancel
Save