Skip to content

Commit

Permalink
Fix leak in ReliableTopicListenerRunner.next (#1377) (#1381)
Browse files Browse the repository at this point in the history
  • Loading branch information
srknzl committed Oct 3, 2022
1 parent 2f96cbb commit d5ccb4b
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 d5ccb4b

Please sign in to comment.