Closed Thom1729 closed 3 years ago
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.
sublime.set_timeout
This is technically a change in behavior, but I think it makes sense as a bug fix.
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.