This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]