mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
When unsubscribing do not check rrMap for reserved replies.
Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
@@ -3071,7 +3071,8 @@ func (c *client) unsubscribe(acc *Account, sub *subscription, force, remove bool
|
||||
}
|
||||
|
||||
// Now check to see if this was part of a respMap entry for service imports.
|
||||
if acc != nil {
|
||||
// We can skip subscriptions on reserved replies.
|
||||
if acc != nil && !isReservedReply(sub.subject) {
|
||||
acc.checkForReverseEntry(string(sub.subject), nil, true)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user