Memento.update
does not always work when an extension is starting up
#171827
Labels
info-needed
Issue requires more information from poster
Does this issue occur when all extensions are disabled?: Yes/No
Version: 1.75.0-insider (user setup)
OS: Windows_NT x64 10.0.22518
Steps to Reproduce:
See
ExtensionContext.globalState
: https://code.visualstudio.com/api/references/vscode-api#ExtensionContext:This has been failing for Python extension when type of
newValue
is string, and in some cases an array object.Workaround: We've observed that if we reset the storage first, and then try updating it, it works in most cases: (implementation in Python extension)
Once the extension completely finishes loading, we do not see this bug.
The text was updated successfully, but these errors were encountered: