mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
fixed queue group memory leak
This commit is contained in:
@@ -345,7 +345,7 @@ func (s *Sublist) chkForRemoveNotification(subject, queue string) {
|
||||
}
|
||||
// Move from the remove map to the insert map.
|
||||
s.notify.insert[key] = append(s.notify.insert[key], chs...)
|
||||
delete(s.notify.remove, subject)
|
||||
delete(s.notify.remove, key)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user