Yes. It is definitely related to the subscription. I have a large 
simulation that drains laptop batteries if I keep polling for events when 
the program is paused. That is why I keep subscribing and un-subscribing, 
to save customers' batteries.


On Thursday, May 26, 2016 at 9:57:46 AM UTC-5, Fernando Alegre wrote:
>
> I may have found a possible race condition in Elm. It is illustrated here: 
> <script src="
> https://gist.github.com/alphalambda/448099e95858b0ffc91fd41fdb1b437a.js
> "></script>
>
> If you click several times on the Pause/Resume button, it becomes 
> unresponsive after a while.
>
> I am using Google Chrome, so it may be a race condition in Chrome's event 
> handler. I am not sure. Any hints?
>
> Thanks
>
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to