diff --git a/renderer/index.js b/renderer/index.js index 19bead1c..18dac7d2 100644 --- a/renderer/index.js +++ b/renderer/index.js @@ -183,7 +183,7 @@ function render (state) { // Calls render() to go from state -> UI, then applies to vdom to the real DOM. function update () { showOrHidePlayerControls() - vdomLoop.update(state) + if (vdomLoop) vdomLoop.update(state) updateElectron() }