Closed mikehobi closed 7 years ago
After the rokuAddress is set, it should not keep calling searchForRoku(), even if someone hard codes the rokuAddress it will still call repeatedly.
rokuAddress
searchForRoku()
This will clear the setInterval once rokuAddress is no longer null
setInterval
null
Also PS: love this project. It's been fun exploring Alexa capabilities.
After the
rokuAddress
is set, it should not keep callingsearchForRoku()
, even if someone hard codes therokuAddress
it will still call repeatedly.This will clear the
setInterval
oncerokuAddress
is no longernull
Also PS: love this project. It's been fun exploring Alexa capabilities.