AFAIK the destructor __del__ isn't necessarily called in python.
2012/3/1 Ronny Lorenz <email address hidden>:
> Just another thought about the bugfix...
> I think a more clean way of getting rid of the wrapped controls is to introduce a __del__ destructor in the ControlWrapper class. This destructor can go through all stored controls and purge them. Then scripting.Script is able to just go through its list of stored wrappers and delete them one by one on call of the stop() method.
AFAIK the destructor __del__ isn't necessarily called in python.
2012/3/1 Ronny Lorenz <email address hidden>:
> Just another thought about the bugfix...
> I think a more clean way of getting rid of the wrapped controls is to introduce a __del__ destructor in the ControlWrapper class. This destructor can go through all stored controls and purge them. Then scripting.Script is able to just go through its list of stored wrappers and delete them one by one on call of the stop() method.