Skip to content
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

Timer doesn't stop when VSCode isn't explicitly "deactivated" #7

Open
CodeSpent opened this issue Jul 12, 2020 · 0 comments
Open

Timer doesn't stop when VSCode isn't explicitly "deactivated" #7

CodeSpent opened this issue Jul 12, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@CodeSpent
Copy link
Owner

stopTimer is only run on deactivated hook which implies the user manually closed the window.

If the window is left open when the device is shut down, or VSCode is force closed through a task manager, then the deactivated method never runs, and the timer continues.

Need a way to handle this to avoid inaccuracies with timing.

@CodeSpent CodeSpent added the bug Something isn't working label Jul 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant