Skip to content

Commit f23c3be

Browse files
committed
Patch VS Code to wait for storage write
VS Code has a short delay before writing storage (probably to queue up rapid changes). In the web version of VS Code this happens on the client which means if the page is reloaded before the delay expires the write never happens. Storage updates are already promises so this simply returns the promise returned by the delayer so it won't resolve until the write actually happens. Fixes #2021.
1 parent 617cd38 commit f23c3be

File tree

1 file changed

+124
-68
lines changed

1 file changed

+124
-68
lines changed

0 commit comments

Comments
 (0)