Files
FairMQ/fairmq/zeromq/Common.h
Claude f92780e9a9 fix(zeromq,shmem): stop socket monitor before closing sockets
- Stop the zmq monitor and drain pending events before closing the
  monitored socket and the reading monitor socket
- Events emitted while the monitored socket closes were dropped by
  libzmq, leaking their endpoint frames (zmq_msg_init_size)
- Apply to both the zeromq and shmem transport sockets
- LeakSanitizer no longer reports leaks in the test suite

Fixes: #463

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 13:28:53 +01:00

11 KiB