Re: [anjuta-devel] Deactivate plugin handlers not getting called when Anjuta exits?



Hi James,


Le 07/06/2011 06:14, James Liggett a écrit :
On Mon, 2011-06-06 at 10:24 +0200, Johannes Schmid wrote:
I think that this is expected as anjuta doesn't do a "clean shutdown"
normally. There is a --proper-shudown option that should change that
behaviour but it slows down the exit a lot.
Seriously? Doesn't that mean that a lot of plugins leak a bunch of stuff
when Anjuta exits (I know I'm doing a lot of cleanup in my deactivate
handler...)
Maybe I'm being naive, but isn't this really bad?

I think that the OS takes care of freeing all memory allocated by a process when it ends so it is not needed to check all references on every block of memory before releasing them.


Best Regards,

Sébastien



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