mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-23 04:23:35 +00:00
disconnect intersection observer
This commit is contained in:
@@ -126,7 +126,7 @@ export default defineComponent({
|
||||
});
|
||||
|
||||
onUnmounted(() => {
|
||||
if (readObserver) readObserver.unobserve(elRef.value);
|
||||
if (readObserver) readObserver.disconnect();
|
||||
if (connection) connection.dispose();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user