Skip to content

Commit

Permalink
Merge pull request #68 from nats-io/67-promise-complete
Browse files Browse the repository at this point in the history
Fixed promise.complete not being called.
  • Loading branch information
scottf authored Mar 8, 2024
2 parents 0ec2b00 + e7dc4e3 commit 505ecb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/io/nats/vertx/impl/NatsStreamImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ public Future<Void> unsubscribe(final String subject) {
} else {
subscription.unsubscribe();
subscriptionMap.remove(subject);
promise.complete();
}
} else {
dispatcherMap.remove(subject);
Expand Down

0 comments on commit 505ecb9

Please sign in to comment.