Merge pull request #886 from toeverything/feat/sync-status

fix: logout will jump to 404 error
This commit is contained in:
DarkSky
2023-02-08 23:22:10 +08:00
committed by GitHub
7 changed files with 72 additions and 52 deletions

View File

@@ -430,7 +430,7 @@ export class AffineProvider extends BaseProvider {
token.clear();
this._channel?.disconnect();
this._wsMap.forEach(ws => ws.disconnect());
this._workspaces.clear();
this._workspaces.clear(false);
storage.removeItem('token');
}