-
Notifications
You must be signed in to change notification settings - Fork 7
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
Disabling explain-pause-mode does not clear timers created while the mode is activated #90
Comments
Did you check the timers via the So,
Are you noticing that more and more timers are created and not destroyed? Or is it rather after the mode is disabled, the timers are all still named |
It's also possible the code that's supposed to check to see if the mode is on or off is not working right, and that could be slowing down emacs. But I suspect the timers created actually were created by other packages, but there's no way to tell which was which, because they are all named I think the first step is to introduce a new symbol for every wrapped callback that has the name of the original function in it. Also, it might be possible to unwrap all the callbacks when the mode is uninstalled. It should be possible. |
Hm, it's possible that when the mode is re-enabled, it's wrapping already wrapped timers and that would indeed slow things down every time you enabled-re-enabled the mode. I will check on that. |
Yes.
Here is an example of relevant
Both. If |
The issue is in the topic. Severals dozens of timers created by explain-pause-mode appears to slow down Emacs, though clearing the timers would be a good idea regardless of this problem.
The text was updated successfully, but these errors were encountered: