Hi Alexander,
Obviously, "delete this" is a mistake remaining from old code (copy and
paste)...
Cheers,
Bertrand.
----- Original Message -----
From: "Alexander Bürger" <buerger@iskp.uni-bonn.de>
To: <roottalk@pcroot.cern.ch>
Sent: Sunday, February 08, 2004 5:11 PM
Subject: Re: [ROOT] TRootBrowser
> Hi Bertrand,
>
> > RBrowser::~RBrowser()
> > {
> > // exit on close window
> > delete this;
> > gApplication->Terminate();
> > }
>
> Oh, I did not expect the TBrowser to be deleted when the browser window
> is closed. It seems to work - without "delete this" - if it's there, I
> get segfault!?
>
> Alexander
>
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET