Merge branch 'fix-notification.vue' of https://github.com/syuilo/misskey into fix-notification.vue
This commit is contained in:
commit
98cc961cae
1 changed files with 2 additions and 2 deletions
|
@ -122,8 +122,8 @@ export default defineComponent({
|
|||
connection.on('readAllNotifications', () => readObserver.disconnect());
|
||||
|
||||
onUnmounted(() => {
|
||||
if (readObserver) readObserver.disconnect();
|
||||
if (connection) connection.dispose();
|
||||
readObserver.disconnect();
|
||||
connection.dispose();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue