Skip to content

Commit

Permalink
Fix leak in ReliableTopicListenerRunner.next (#1377) (#1382)
Browse files Browse the repository at this point in the history
  • Loading branch information
srknzl committed Oct 3, 2022
1 parent f8f0526 commit b4dbfa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proxy/topic/ReliableTopicListenerRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class ReliableTopicListenerRunner<E> {
})
.catch((err) => {
if (this.handleInternalError(err)) {
this.next();
setImmediate(this.next.bind(this));
} else {
this.proxy.removeMessageListener(this.listenerId);
}
Expand Down

0 comments on commit b4dbfa8

Please sign in to comment.