paragui-users
[Top][All Lists]
Advanced

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

Re: [paragui-users] Bug in event handling?


From: Alexander Pipelka
Subject: Re: [paragui-users] Bug in event handling?
Date: 16 Apr 2003 16:12:30 +0200

Sorry,...
This one was (is?) a really nasty one. I've been investigating into this
quite a long time. The problem was when an object is deleted the
iterator of the objectlist gets invalidated. I also found some other
problems related to STL vectors i haven't solved yet.

At least this bug (to be precise: the symptom) is fixed now.

Alex

Am Die, 2003-04-08 um 23.36 schrieb Michael Bartl:
> Hi!
> 
> I have a small problem with event handling in paragui!
> It can be easily circumvented, but I'm not sure what's the best/right
> (tm) way todo it!
> 
> Compile the attached source and see for yourself!
> 
> When clicking the button the window closes and everything is ok, but
> when placing the cursor in the PG_LineEdit (doesn't matter if there is
> text entered or not, just don't press enter) and the button is clicked
> leads to a sefault, due to the fact that the PG_Window doesn't exists
> anymore!
> 
> Shouldn't messages where the recipient is dead be silently discarded?
> 
> btw: beware, the code is not out there for review, just a quick hack to
> show the problem (result can be seen in FreeLords).
> 
> Have fun,
>     Michael
> 
> ______________________________________________________________________
> 
> _______________________________________________
> paragui-users mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/paragui-users





reply via email to

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