Skip to content

Conversation

@Thom1729
Copy link
Member

@Thom1729 Thom1729 commented Apr 1, 2021

Use a weak reference so that sublime.set_timeout won't keep the reference alive. This will naturally stop the timeouts. Also manually clear the target upon deletion.

This is technically a change in behavior, but I think it makes sense as a bug fix.

@FichteFoll FichteFoll added this to the 1.4.1 milestone Apr 6, 2021
@Thom1729 Thom1729 merged commit 7c8ff38 into master Apr 6, 2021
@Thom1729 Thom1729 deleted the stop-activity-monitor-when-reference-lost branch April 6, 2021 14:26
This was referenced Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants