Skip to content

Commit c58d026

Browse files
committed
fix: dispose
1 parent e936240 commit c58d026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vue/src/create-cassiopeia.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export const createCassiopeia = (options: Options = {}): Cassiopeia => {
100100
if (__PLATFORM__ === 'browser') {
101101
globalThis.__CASSIOPEIA__ = undefined
102102
}
103-
instance[STORE].subscriptions.clear()
103+
instance[STORE].subscriptions.splice(0)
104104

105105
for (const property of Object.keys(instance[STORE].iterators)) {
106106
Reflect.deleteProperty(instance[STORE].iterators, property)

0 commit comments

Comments
 (0)