Skip to content

Conversation

sean-mcmanus
Copy link
Contributor

@sean-mcmanus sean-mcmanus commented Apr 7, 2025

This is causing cpptools to exit after 4 minutes when it should not, which incorrectly leads to these messages appearing in the screenshot below, which can confuse users into thinking there's an unexpected bug, see for example #13465:

image

This moves the initialization of the interval timer earlier before it could get blocked by the await this.onDidChangeVisibleTextEditors(cppEditors);.

@sean-mcmanus sean-mcmanus requested a review from a team as a code owner April 7, 2025 22:28
@github-project-automation github-project-automation bot moved this to Pull Request in cpptools Apr 7, 2025
@sean-mcmanus
Copy link
Contributor Author

sean-mcmanus commented Apr 8, 2025

It sounds like there might be some follow up changes as well to change how initialization and message registration are handled.

@sean-mcmanus sean-mcmanus merged commit 6b8b999 into main Apr 8, 2025
6 checks passed
@sean-mcmanus sean-mcmanus deleted the seanmcm/fixIntervalTimer branch April 8, 2025 00:30
@github-project-automation github-project-automation bot moved this from Pull Request to Done in cpptools Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants