help-smalltalk
[Top][All Lists]
Advanced

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

Re: [Help-smalltalk] OOP leaking with registered object


From: Holger Hans Peter Freyther
Subject: Re: [Help-smalltalk] OOP leaking with registered object
Date: Sat, 4 Apr 2015 18:21:02 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

On Fri, Apr 03, 2015 at 11:36:55PM +0200, Roland Plüss wrote:

> The application holds C++ resources by reference counting outside
> Smalltalk. The resources have to be cleaned up before the Smalltalk
> module is shut down. This is because the engine keeps running valid with
> the scripting module shut down (so you can start/stop it multiple
> times). Without proper finalization the reference counts are off leading
> to random crashes somewhere down the line.

In regard to leaks "allOwners" can be of help. The tooling is a
bit difficult but it can be interesting to see it.

Finalization/Shutdown. You should terminate all processes to some
degree and wait for the "finalization listener" to have executed
and shutdown everything.



reply via email to

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