mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-17 10:06:17 +08:00
fix(core): subscribe search not unsubscribe (#11929)
This commit is contained in:
@@ -116,4 +116,8 @@ export class DocsQuickSearchSession
|
||||
setQuery(query: string) {
|
||||
this.query$.next(query);
|
||||
}
|
||||
|
||||
override dispose(): void {
|
||||
this.query.unsubscribe();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user