adonthell-devel
[Top][All Lists]
Advanced

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

Re: [Adonthell-devel] main_menu bug


From: Kai Sterker
Subject: Re: [Adonthell-devel] main_menu bug
Date: Sun, 29 Sep 2002 17:19:39 +0200

On Sun, 29 Sep 2002 17:17:30 +0200 Alexandre Courbot wrote:

> > That's what I also did, with the same results. But in the morning I
> > woke up with the solution in mind:
> > instead of 'del menu', I call 'win_container.__del__(menu)' and
> > voila: the menu will be completely deleted and the destructor prints
> > its message :).
> 
> Uh? But is there a reason why this works and not a regular del??

Not sure. Maybe the win_container shadow class instance has its
'thisown' set to 0. In that case, it might prevent the whole menu class
from being deleted. I'll test this.

Kai




reply via email to

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