Is it possible to clear data stored in the global state directly from the deactivate() method of an extension? #2455
Unanswered
JoshwinThomasIBM
asked this question in
Extension Development QnA
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’m clearing global state data with context.globalState.update('libertyDataNew', '') in the deactivate() method, and it seems to work initially. But after reloading the extension, the data reappears. However, clearing it from activate() works as expected, even after reloading the extension . So, is it possible to reliably clear global state data in the deactivate() method?
Beta Was this translation helpful? Give feedback.
All reactions