fix: fix logout
This commit is contained in:
@@ -407,6 +407,7 @@ export class AffineProvider extends BaseProvider {
|
|||||||
token.clear();
|
token.clear();
|
||||||
this._channel?.disconnect();
|
this._channel?.disconnect();
|
||||||
this._wsMap.forEach(ws => ws.disconnect());
|
this._wsMap.forEach(ws => ws.disconnect());
|
||||||
|
this._workspaces.clear();
|
||||||
storage.removeItem('token');
|
storage.removeItem('token');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user