help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to debug memory leaks


From: Stefan Monnier
Subject: Re: How to debug memory leaks
Date: Fri, 26 Mar 2021 12:44:50 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> Yes, that is why I ment a hook that will be avaialble for mode writers
> to put potential "cleanup" into since users probably don't know and
> should not need to know the details.

What I meant is that if the mode's writer knows that this variable can
be a source of problem, he can just as well fix those problem (or
report the problem and have someone else fix the problem).

> I used undo history as example, but I ment bunch of other stuff. No idea
> how much it would give in practice though.

So, there's no concrete existing example of stuff that could be added to
this "cleanup hook" :-(


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]