only reset sockets if needed

This commit is contained in:
Alexey Rybalchenko
2017-04-13 14:08:00 +02:00
committed by Mohammad Al-Turany
parent c51575f88c
commit 541538e3de
3 changed files with 76 additions and 39 deletions

View File

@@ -244,7 +244,6 @@ class FairMQChannel
std::string fName;
std::atomic<bool> fIsValid;
FairMQPollerPtr fPoller;
FairMQSocketPtr fChannelCmdSocket;
@@ -270,6 +269,8 @@ class FairMQChannel
static std::atomic<bool> fInterrupted;
bool fMultipart;
bool fModified;
bool fReset;
};
#endif /* FAIRMQCHANNEL_H_ */