Skip to content

Conversation

@mjbvz
Copy link
Collaborator

@mjbvz mjbvz commented May 22, 2024

If a timer has been disposed of, warn and don't schedule the callback. This is needed as otherwise the timer very likely ends up being leaked

If a timer has been disposed of, warn and don't schedule the callback. This is needed as otherwise the timer very likely ends up being leaked
@vscodenpa vscodenpa added this to the May 2024 milestone May 22, 2024
@mjbvz mjbvz enabled auto-merge (squash) May 23, 2024 00:05
@mjbvz mjbvz merged commit 79d8e98 into microsoft:main May 23, 2024
andremmsilva pushed a commit to PIC1G55/vscodeG55 that referenced this pull request May 26, 2024
* Prevent using disposed of timers

If a timer has been disposed of, warn and don't schedule the callback. This is needed as otherwise the timer very likely ends up being leaked

* Throw errors instead
@microsoft microsoft locked and limited conversation to collaborators Jul 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants