[SailfishDevel] Repeating time does not stop...

Zoltán Lutor zoltan.lutor at gmail.com
Fri Jan 29 20:58:07 UTC 2016


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) }

    }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20160129/25554dfa/attachment.html>


More information about the Devel mailing list