Browse Source

properly de-register RiotControl events in app

pull/1/head
wes 7 years ago
parent
commit
cdc9d5daba
  1. 5
      src/scripts/app.tag

5
src/scripts/app.tag

@ -245,5 +245,10 @@ self.on("mount", () => {
route.start(true);
});
self.on("unmount", () => {
RiotControl.off("openpost");
RiotControl.off("postswitch");
})
</script>
</app>

Loading…
Cancel
Save