Skip to content

Commit

Permalink
Fix onOutOfDate handler from firing twice (#1071)
Browse files Browse the repository at this point in the history
  • Loading branch information
nihalbhatnagar authored Dec 18, 2024
1 parent adf3b12 commit b773513
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/big-news-thank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@osdk/client": patch
---

Fix onOutOfDate handler from being fired twice
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,6 @@ export class ObjectSetListenerWebsocket {
this.#logger?.error(error, "Error in onOutOfDate callback");
this.#tryCatchOnError(sub, false, error);
}
sub.listener.onOutOfDate();
};

#handleMessage_subscribeResponses = (
Expand Down

0 comments on commit b773513

Please sign in to comment.