Skip to content

Commit 0dc8963

Browse files
committed
chore: update
1 parent 96088ed commit 0dc8963

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

packages/reactivity/src/effectScope.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,6 @@ export class EffectScope implements ReactiveNode {
8787
if (sub !== undefined) {
8888
unlink(sub)
8989
}
90-
this.cleanup()
91-
}
92-
93-
/**
94-
* @internal
95-
*/
96-
cleanup(): void {
9790
cleanup(this)
9891
}
9992
}

packages/runtime-vapor/__tests__/components/Teleport.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ describe('renderer: VaporTeleport', () => {
195195
expect(target.innerHTML).toBe('<div>teleported 2</div>')
196196
})
197197

198-
test('parent rerender + toggle disabled', async () => {
198+
test.todo('parent rerender + toggle disabled', async () => {
199199
const target = document.createElement('div')
200200
const root = document.createElement('div')
201201
const parentId = 'test3-parent-rerender'

packages/runtime-vapor/src/hmr.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export function hmrRerender(instance: VaporComponentInstance): void {
1919
const parent = normalized[0].parentNode!
2020
const anchor = normalized[normalized.length - 1].nextSibling
2121
remove(instance.block, parent)
22-
instance.scope.cleanup()
2322
const prev = setCurrentInstance(instance)
2423
pushWarningContext(instance)
2524
devRender(instance)

0 commit comments

Comments
 (0)