yoelk / instrumentino

Instrumentino is an open-source modular graphical user interface framework for controlling Arduino based experimental instruments
GNU General Public License v3.0
137 stars 59 forks source link

V2 too many component objects are created #13

Open yoelk opened 8 years ago

yoelk commented 8 years ago

On each component object created in the code, there are two appearing when you look at the garbage collector (gc). This is annoying because we use the gc's list to give default screen names to objects by enumerating them, counting on how many are found. So instead of getting names in the right order (1,2,3,...) we get them with jumps of 2 (1,3,5,...)

This might have to do with component being a kv widget, because this behavior is not seen for controllers, which don't have a kv widget.