diff --git a/api/mount.js b/api/mount.js index 13b19e17..0465c4c7 100644 --- a/api/mount.js +++ b/api/mount.js @@ -18,6 +18,7 @@ module.exports = function(renderer, pubsub) { run() if (component === null) { + pubsub.unsubscribe(root.redraw) delete root.redraw } }