Comment 13 for bug 941337

Revision history for this message
Ronny Lorenz (raumzeit) wrote :

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.