You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ZeroMQ broker shutdown leaves sockets and context open #706
ZeroMQBroker.shutdown unbinds the client endpoint but never closes the socket or its context. The resources remain open for both client and worker brokers. A shutdown hook or result backend failure also leaves them open.
The example below prints False False after shutdown. Both resources should be closed. The same broker should still support a later startup, as it does now.
The final cleanup is included so the reproduction itself does not leave resources open. It is not part of the broker shutdown.
Six real-socket regression cases reproduce this across client and worker shutdown, including hook and backend failures. This is separate from #401 and the merged #511, which fixed binding and connection behavior but did not release these resources. The NNG proposals in #602 and #612 concern a different broker.
Activity