Looks like you have a good start. I agree that storing the ControlWrappers (rather than the controls obtained by factory.get_control()) is the better thing to do.
Further, I think ControlWrapper should implement stop(), which would essentially do what you've outlined in your patch here. That way, we can keep scripting/Script.py mostly the same and ControlWrapper can stop all the Controls its allocated and the original one.
What do you think? Can you take a shot at this Ronny?
Looks like you have a good start. I agree that storing the ControlWrappers (rather than the controls obtained by factory. get_control( )) is the better thing to do.
Further, I think ControlWrapper should implement stop(), which would essentially do what you've outlined in your patch here. That way, we can keep scripting/Script.py mostly the same and ControlWrapper can stop all the Controls its allocated and the original one.
What do you think? Can you take a shot at this Ronny?