mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-14 10:10:42 -07:00
This is an addition to PR #1652. I have simply added a check but at this point in time there is no risk that connection is closed this early. I also renamed the small helper function and fixed a test that had an improper `s.mu.Unlock()` in an error condition. Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
55 KiB
55 KiB