[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [paragui-dev] shutdown deletes objects twice
From: |
Alexander Pipelka |
Subject: |
Re: [paragui-dev] shutdown deletes objects twice |
Date: |
Sat, 11 Jun 2005 09:52:27 +0200 |
Hi Martin,
Please check if the attached patch solves the problem.
Alex
Am Freitag, den 10.06.2005, 23:11 +0200 schrieb Martin Bickel:
> Hi,
>
> I've discovered a serious bug in Paragui 1.1 devel branch and I don't
> know how to fix it.
>
> The problem is that a PG_DropDown has an instance of a PG_ListBox named
> my_DropList , which is not a child of the PG_DropDown. So the
> PG_ListBox registers at the PG_Application.
>
> When the PG_Application shuts down, it deletes all widgets. If it now
> happens that it deletes the PG_ListBox before it deletes the
> PG_DropDown, the PG_ListBox tries to delete the my_DropList a second
> time in its destructor.
>
> The same pattern is used in PG_MenuBar, so I expect it to also be
> affected.
>
> I don't see any easy and light-weight solution to the problem and hope
> that you have one :-)
>
> Martin
>
>
>
> _______________________________________________
> paragui-dev mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/paragui-dev
dropdown-fix.patch
Description: Text Data
- [paragui-dev] shutdown deletes objects twice, Martin Bickel, 2005/06/10
- Re: [paragui-dev] shutdown deletes objects twice,
Alexander Pipelka <=
- Re: [paragui-dev] shutdown deletes objects twice, Martin Bickel, 2005/06/11
- Re: [paragui-dev] shutdown deletes objects twice, Alexander Pipelka, 2005/06/11
- Re: [paragui-dev] shutdown deletes objects twice, Martin Bickel, 2005/06/11
- Re: [paragui-dev] shutdown deletes objects twice, Alexander Pipelka, 2005/06/12
- Re: [paragui-dev] shutdown deletes objects twice, Martin Bickel, 2005/06/12
- Re: [paragui-dev] shutdown deletes objects twice, Alexander Pipelka, 2005/06/12