This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: [RFA] quit patch
- From: "Martin M. Hunt" <hunt at redhat dot com>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: insight at sources dot redhat dot com
- Date: Fri, 26 Apr 2002 11:49:30 -0700 (PDT)
- Subject: Re: [RFA] quit patch
On Fri, 26 Apr 2002, Keith Seitz wrote:
> On Fri, 26 Apr 2002, Martin M. Hunt wrote:
>
> > +proc gdbtk_force_quit {} {
> > + # If we don't delete source windows, GDB hooks will
> > + # try to update them as we exit
> > + foreach win [ManagedWin::find SrcWin] {
> > + delete object $win
> > + }
> > + gdb_force_quit
> > }
>
> Won't this interfere with ManagedWin::shutdown?
Why should it? It deletes the source window whose destructor calls
gdb_force_quit which calls gdbtk_cleanup which calls shutdown. Obviuso,
really :^)
Martin