Skip to content

Commit 6224165

Browse files
committed
chore: todo note
1 parent 6dbe7a8 commit 6224165

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: src/globals.ts

+5
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ export function getGlobalScope(firebaseApp: FirebaseApp, app: App) {
1717
if (!scopeMap.has(firebaseApp)) {
1818
const scope = effectScope(true)
1919
scopeMap.set(firebaseApp, scope)
20+
// TODO: only Vue 3.5+
21+
// app.onUnmount(() => {
22+
// scope.stop()
23+
// scopeMap.delete(firebaseApp)
24+
// })
2025
const { unmount } = app
2126
// dispose up the scope when the app is unmounted
2227
app.unmount = () => {

0 commit comments

Comments
 (0)