diff --git a/src/renderer/components/GlobalHeader.vue b/src/renderer/components/GlobalHeader.vue index 534d4da0..f749e6ec 100644 --- a/src/renderer/components/GlobalHeader.vue +++ b/src/renderer/components/GlobalHeader.vue @@ -50,6 +50,9 @@ export default { created() { this.initialize() }, + destroyed() { + this.$store.dispatch('GlobalHeader/unbindUserStreamings') + }, methods: { activeRoute() { return this.$route.path