-
Notifications
You must be signed in to change notification settings - Fork 27.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Saw the following stack trace while selfhosting #16509
Comments
@alexandrudima to be clear, this error was only showing up in dev tools but not shown to you via error message right? |
Having difficulty reproducing but my guess is that this is a race condition when auto save is on since the default delay is the same as the backup's delay (1000ms). @bpasero unless you think it's something else, how about we disabling all backups for text files when |
I also hit this, I had auto save on at the time:
No error on UI. |
@bpasero Yeah, saw it in dev tools, not in an error popup |
@Tyriar when I look at how Since it is currently not possible to cancel any running As for auto save: hot exit for auto save enabled does not add much value because upon quit we save all dirty files if any of the auto save configurations is enabled. Basically you will never see a confirm dialog on quit, unless you have untitled files opened. Now, if we take out backups when auto save is enabled, we would probably solve this issue for the 90% case. However, doing so would also mean that there is no backups being made for people that have auto save on. If you happen to configure auto save I agree though that with auto save after 1 second, backups are not making much sense... |
@bpasero for the auto save case I'm suggesting only disable text file backups when it's set to Proposed actions:
|
I made the auto save change, let's push the queue out to Jan as I don't think it's critical enough to get fixed at this point. |
@bpasero Are there steps to verify? |
No, I think we should mark this as verified given it was not reported again in a while. |
I didn't do anything special at the time (i.e. I was typing in a TypeScript file, right after typing in keybindings.json). I have the following settings:
The text was updated successfully, but these errors were encountered: