Skip to content

Commit 8c64d5f

Browse files
committed
Merge branch 'main' of github.com:taylorwilsdon/Roo-Code into refresh_mcp
2 parents ef16d37 + e113f6f commit 8c64d5f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/cloud/src/SettingsService.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ export class SettingsService {
3939
public initialize(): void {
4040
this.loadCachedSettings()
4141

42+
// Clear cached settings if we have missed a log out.
43+
if (this.authService.getState() == "logged-out" && this.settings) {
44+
this.removeSettings()
45+
}
46+
4247
this.authService.on("active-session", () => {
4348
this.timer.start()
4449
})

0 commit comments

Comments
 (0)