<div dir="ltr">Hi,<div><br></div><div>I used a repeating time and after calling stop() method it still triggers.</div><div>Both of debug logs are visible - triggering related one is still coming after calling stop()<br></div><div><br></div><div>Is it bug or some weird feature? ;)</div><div><br></div><div><br></div><div><pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(128,0,128)">    Timer</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)">    </span>{</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)">        </span><span style="color:rgb(128,0,0)">id</span><span style="color:rgb(192,192,192)">              </span>:<span style="color:rgb(192,192,192)"> </span><span style="font-style:italic;color:rgb(0,0,0)">refreshTimer</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)">        </span><span style="color:rgb(128,0,0)">interval</span><span style="color:rgb(192,192,192)">        </span>:<span style="color:rgb(192,192,192)"> </span>noRefresh // <- readonly property of parent item</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)">        </span><span style="color:rgb(128,0,0)">running</span><span style="color:rgb(192,192,192)">         </span>:<span style="color:rgb(192,192,192)"> </span>false</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)">        </span><span style="color:rgb(128,0,0)">triggeredOnStart</span>:<span style="color:rgb(192,192,192)"> </span>false</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)">        </span><span style="color:rgb(128,0,0)">repeat</span><span style="color:rgb(192,192,192)">          </span>:<span style="color:rgb(192,192,192)"> </span>true</pre>
<pre style="margin-top:0px;margin-bottom:0px"><br></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)">        </span><span style="color:rgb(128,0,0)">onIntervalChanged</span>:<span style="color:rgb(192,192,192)"> </span>{<span style="color:rgb(192,192,192)"> </span><span style="color:rgb(128,128,0)">if</span><span style="color:rgb(192,192,192)"> </span>(<span style="color:rgb(192,192,192)"> </span><span style="font-style:italic;color:rgb(0,0,0)">noRefresh</span><span style="color:rgb(192,192,192)"> </span>===<span style="color:rgb(192,192,192)"> </span><span style="font-style:italic;color:rgb(0,0,0)">interval</span><span style="color:rgb(192,192,192)"> </span>)<span style="color:rgb(192,192,192)"> </span>{<span style="color:rgb(192,192,192)"> </span><span style="font-style:italic;color:rgb(0,0,0)">refreshTimer</span>.stop()<span style="color:rgb(192,192,192)"> </span>}<span style="color:rgb(192,192,192)"> </span>}</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)">        </span><span style="color:rgb(128,0,0)">onTriggered</span>:<span style="color:rgb(192,192,192)"> </span>{<span style="color:rgb(192,192,192)"> </span><span style="font-style:italic;color:rgb(0,85,175)">console</span>.debug(<span style="color:rgb(0,128,0)">"!!!</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">Triggered</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">!!!"</span>);<span style="color:rgb(192,192,192)"> </span>}</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)">        </span><span style="color:rgb(128,0,0)">onRunningChanged</span>:<span style="color:rgb(192,192,192)"> </span>{<span style="color:rgb(192,192,192)"> </span><span style="font-style:italic;color:rgb(0,85,175)">console</span>.debug(<span style="color:rgb(0,128,0)">"Running:</span><span style="color:rgb(192,192,192)"> </span><span style="color:rgb(0,128,0)">"</span>,<span style="color:rgb(192,192,192)"> </span><span style="font-style:italic;color:rgb(0,0,0)">running</span>)<span style="color:rgb(192,192,192)"> </span>}</pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(192,192,192)">    </span>}</pre></div></div>