Extension deactivate method on browser reload scenario. #5615
Unanswered
AxelFlores1990
asked this question in
General
Replies: 1 comment 12 replies
-
This is an interesting question! Do you know if this happens in Codespaces? If so, it's worth mentioning upstream. If not, then it's in code-server and we should probably fix it. Maybe @code-asher has some insight. |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! how are you?
I find some issue when the deactivate method of extension was executed on browser tab reload..
The deactivate was executed, but in standalone version, vscode provide 5 secs of grace period(as metion here) to stop every process before shutdown the host process..
I think that in web browser this 5 seconds was not provided as grace period..
We use the activate/deactivate methods to run a daemon process that works as a runtime to provide some services.. and in the standalone version it stop fine, but in the web browser the stop process was interrupted drastically...
Do you know if this is an issue or if theres any other way to map the reload tab event from the extension side?
Beta Was this translation helpful? Give feedback.
All reactions