-->
Page 1 of 2

Saving a program while a timer is running

PostPosted: Fri Nov 13, 2015 7:57 am
by Rotohammer
If you save a program while a timer is running, for example, the thermostat app, the program gets truncated an the whole module freezes up (or so I thought). Actually it gets very very slow and eventually (after a few minutes) I can get to the edit page, save an empty program, run it, and then I'm back to normal.

Normally I hit the Exit button in my app prior to saving changes, but its not ideal having that button on a web page to begin with, I would prefer to remove it. On occasion I forget to hit it anyway. :)

Perhaps the "Save button" function needs to call the "end" function so that the currently running basic code is stopped prior to saving?

Re: Saving a program while a timer is running

PostPosted: Fri Nov 13, 2015 7:29 pm
by Mmiscool
Will be working on a fix to this tomorrow after noon. Won't have much of a chance to work on this tonight as it is a friends birthday and I fear I will be 2 sheets to wind before I get home. This is a problem and I have a resolution in mind that should not be that hard to implement.

Re: Saving a program while a timer is running

PostPosted: Fri Nov 13, 2015 9:21 pm
by viscomjim
Being two sheets to the wind can definitely be a problem, I know. But as long as you have a resolution in mind, especially one that is not that hard to implement... Don't forget to share your hangover cure...

"I will be 2 sheets to wind before I get home. This is a problem and I have a resolution in mind that should not be that hard to implement."

Kidding of course... thanks again Mike for your hard work. Very much appreciated!!!!!

Re: Saving a program while a timer is running

PostPosted: Sat Nov 14, 2015 1:55 pm
by Mmiscool
This is fixed in the latest version just posted.