Topic: Bug: Widget gets restarted after parameter upload
Short: There's something happening on my C1 exactly every 10 minutes (30 seconds after the full minute) that causes the currently running widget to be restarted, if (and only if) it has uploaded widget-parameters (to xml.chumby.com).
This happens both for cooperative-mode and if I pin the widget down (make the widget "stay" in the control-panel.
I think, this might be related to the problem described here : http://forum.chumby.com/viewtopic.php?id=4335
Long: I should mention first that I use FlashDevelop, no Adobe-Tools. For the YouStreams-widget I tried to make use of loading/storing parameters on xml.chumby.com as shown in the example here: http://wiki.chumby.com/mediawiki/index. … r_Example. I store only a few strings (the last radio-category and station, volume etc.) using the XML.send_and_load()-method.
It's working fine so far (although I wonder why XML.send(..., ..., "POST") does not work ?), I can store and retrieve the desired widget-parameters.
Unfortunately, I noticed that the widget got restarted from time to time. It does not get replaced by the next widget in the channel, even when in cooperative mode, but simply gets restarted (starts from main-routine).
I spent hours searching for bugs in my AS2-code, but now I think the problem has an external cause, mainly because restarting takes place at a fixed Interval every hh:mm:30, where mm=00,10,20,30,40,50. If the widget uploads any parameters, it will be restarted at the next mm:30.
Could it be that the instance that controls widget-cycling etc (the Master-flashprogram), periodically checks the availability of new widget-parameters in the chumby-db and then restarts the widget if there are new parameters ?
For Widgets with external configuration, this could be seen as a feature, not a bug...
Is there a way to disable restarting ?