diff --git a/zmq/connections.nim b/zmq/connections.nim index 79c9349..f67cbe7 100644 --- a/zmq/connections.nim +++ b/zmq/connections.nim @@ -323,7 +323,7 @@ proc close(c: var ZConnectionImpl, linger: int = 500) = c.context.terminate() proc close*(c: ZConnection, linger: int = 500) = - c[].close() + c[].close(linger) # Send / Receive # Send with ZSocket type