Skip to content

fix: wait for a running save instead of hanging in AppWrapper - #4131

Merged
JammingBen merged 1 commit into
mainfrom
fix/app-wrapper-save-while-running
Nov 2, 2026
Merged

JammingBen merged 1 commit into
mainfrom
fix/app-wrapper-save-while-running

Conversation

@JammingBen

Copy link
Copy Markdown
Member

Description

Saving a file in an editor app while another save was still running made the save hang forever, because the second save was dropped and never finished. For example, pressing Ctrl+S and then confirming "Save" in the unsaved changes dialog while the first save was still in progress. Now a save waits for the running one to finish:

  • If the running save already stored everything, nothing is saved again.
  • If the running save failed, the new save stops instead of retrying and showing the same error twice.
  • Anything typed while the first save was running is still saved.

Autosave now also skips its turn while a save is running, so it no longer shows "File autosaved" when it saved nothing.

Related Issue

@JammingBen
JammingBen force-pushed the fix/app-wrapper-save-while-running branch from fe7ea5f to 146486a Compare November 2, 2026 09:58
@JammingBen JammingBen self-assigned this Nov 2, 2026
@JammingBen
JammingBen marked this pull request as ready for review November 2, 2026 11:06

@AlexAndBear AlexAndBear left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@JammingBen
JammingBen merged commit 151e8b0 into main Nov 2, 2026
28 checks passed
@JammingBen
JammingBen deleted the fix/app-wrapper-save-while-running branch November 2, 2026 12:46
@openclouders openclouders mentioned this pull request Nov 2, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Unsaved changes" dialog hangs on Save while a save is running

2 participants