Skip to content

Commit

Permalink
Fix leak in ReliableTopicListenerRunner.next (hazelcast#1377)
Browse files Browse the repository at this point in the history
  • Loading branch information
srknzl committed Sep 30, 2022
1 parent f28c5a9 commit 917b53c
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 917b53c

Please sign in to comment.