hoodiehq / hoodie-connection-status

:dog: connection status API for the browser
Apache License 2.0
5 stars 10 forks source link

clear interval when new interval is set #3

Closed gr2m closed 8 years ago

gr2m commented 9 years ago

the current code only clears the interval if connectionStatus.check() is called without interval: option. But it should always be cleared, otherwise we will have two check intervals running in parallel, and we lost the pointer for the first one

gr2m commented 8 years ago

closing in favor of #13