Solution: change zmq_poller_close(p) to zmq_poller_destroy(&p)
Attach a file by drag & drop or click to upload