fix: fix logout

This commit is contained in:
MingLiang Wang
2023-01-16 18:23:09 +08:00
parent c7c8ea7103
commit cc00f2cb2d

View File

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