GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(mobile): an update restart also waits for selections changed duri… · pingdotgg/t3code@b9673d0

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps/mobile/src/features/workspace
    • workspace-selection-store.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎apps/mobile/src/features/workspace/workspace-selection-store.ts‎

Copy file name to clipboardExpand all lines: apps/mobile/src/features/workspace/workspace-selection-store.ts
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ export function saveWorkspaceSelections(): Promise<void> {
4646
// Marked saved only once written, so a failed write is retried on the next background.
4747
return savePreferencesPatch({ workspaceSelections: writing }).then(() => {
4848
saved = writing;
49+
// Pages opened while it wrote, such as after a quick return, are written before resolving.
50+
if (selections !== writing) return saveWorkspaceSelections();
4951
});
5052
}
5153

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.