[SailfishDevel] Repeating time does not stop...

jollailija at gmail.com jollailija at gmail.com
Sat Jan 30 09:55:03 UTC 2016


I'm also experiencing this. Adding
running: boolenAtParentOrSomething
solved it for me.

Btw, your code formatting is really weird. Where did you learn that? I understand your way of doing blocks, but that "something            : true" spacing freaks me out :P 

Zoltán Lutor kirjoitti pe tammikuuta 29 22:58:07 2016 GMT+0200:
> Hi,
> 
> I used a repeating time and after calling stop() method it still triggers.
> Both of debug logs are visible - triggering related one is still coming
> after calling stop()
> 
> Is it bug or some weird feature? ;)
> 
> 
>     Timer
> 
>     {
> 
>         id              : refreshTimer
> 
>         interval        : noRefresh // <- readonly property of parent item
> 
>         running         : false
> 
>         triggeredOnStart: false
> 
>         repeat          : true
> 
> 
>         onIntervalChanged: { if ( noRefresh === interval ) {
> refreshTimer.stop() } }
> 
>         onTriggered: { console.debug("!!! Triggered !!!"); }
> 
>         onRunningChanged: { console.debug("Running: ", running) }
> 
>     }
>

-- 
Lähetetty Jollastani


More information about the Devel mailing list