Refactored other browser observables, removed memleaks

This commit is contained in:
squidfunk
2020-08-22 18:03:47 +02:00
parent 8a6b89ffe1
commit c7d770bbe3
3 changed files with 4 additions and 5 deletions

View File

@@ -51,6 +51,6 @@ export function watchLocationBase(
.toString()
.replace(/\/$/, "")
),
shareReplay(1)
shareReplay({ bufferSize: 1, refCount: true })
)
}