mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 20:59:47 +01:00
Replace incomplete count with a std::set
This commit removes the countdown flag and adds a set to store the pipes that are currently being disconnected.
This commit is contained in:
@@ -104,8 +104,8 @@ namespace zmq
|
||||
// Pipe connecting the session to its socket.
|
||||
zmq::pipe_t *pipe;
|
||||
|
||||
// This flag is set if we are disconnecting, but haven't yet completed
|
||||
int incomplete_detach;
|
||||
// This set is added to with pipes we are disconnecting, but haven't yet completed
|
||||
std::set<pipe_t *> incomplete_pipes;
|
||||
|
||||
// This flag is true if the remainder of the message being processed
|
||||
// is still in the in pipe.
|
||||
|
||||
Reference in New Issue
Block a user