mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-07 22:40:55 +01:00
Close pipes for inproc sockets on zmq_disconnect
- fixes LIBZMQ-476 and LIBZMQ-475
This commit is contained in:
@@ -170,6 +170,10 @@ namespace zmq
|
||||
typedef std::multimap <std::string, own_t *> endpoints_t;
|
||||
endpoints_t endpoints;
|
||||
|
||||
// Map of open inproc endpoints.
|
||||
typedef std::multimap <std::string, pipe_t *> inprocs_t;
|
||||
inprocs_t inprocs;
|
||||
|
||||
// To be called after processing commands or invoking any command
|
||||
// handlers explicitly. If required, it will deallocate the socket.
|
||||
void check_destroy ();
|
||||
|
||||
Reference in New Issue
Block a user