Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Commit bc6fedd

Browse files
committed
fix: prevent unsubscribe when data not exist
1 parent f0c708a commit bc6fedd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GraphListener.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export class GraphDocumentListener implements GraphListener {
8282
onUpdate(this.queryListener.result);
8383
}
8484
} else {
85-
this.queryListener.unsubscribe();
85+
onUpdate(undefined);
8686
}
8787
} else {
8888
if (snapshot.exist) {

0 commit comments

Comments
 (0)