[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch: readline history not cleared on exit -> memleak
From: |
Matthias Koeppe |
Subject: |
Re: Patch: readline history not cleared on exit -> memleak |
Date: |
02 Apr 2001 11:48:54 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.6 |
Marius Vollmer <address@hidden> writes:
> Matthias Koeppe <address@hidden> writes:
>
> > * readline.scm (readline-port): Call clear-history on exit. This
> > removes a memory leak.
>
> Is this an issue in practice or just theoretical? I'm unsure if
> clearing the history has no negative consequences in `odd' situations,
> like when you start multiple repls in a row.
We use memory-debugging tools (Purify) here, and it is annoying to get
such memory holes reported every time.
`exit-hook' is made for procedures that do clean-ups up at the end of
the session. I don't think one has to care about hypothetical code
that invokes it erroneously.
--
Matthias Köppe -- http://www.math.uni-magdeburg.de/~mkoeppe
- Re: Patch: readline history not cleared on exit -> memleak,
Matthias Koeppe <=