Re: [ROOT] static class destructor

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Tue Mar 06 2001 - 13:14:50 MET


When exiting ROOT (.q) we did not tell CINT to delete global objects
created in the interpreter. This has been fixed now in the development version.

Cheers, Fons.



Mathieu Ribordy wrote:
> 
> hi root people,
> 
> if I declare a class non dynamically, I would expect that, when it runs
> out of scope, there is a call to the destructor. But it seems not to be
> the case when declaring such an instance in cint. When I quit root, the
> destructor is not called.
> 
> cheers,
>     Mathieu

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:39 MET