Skip to content

Commit 1830b03

Browse files
authored
Merge pull request #8808 from ktf/fix-restart
DPL: make FairMQDeviceProxy::bindChannels idem-potent
1 parent 7f19b45 commit 1830b03

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Framework/Core/src/FairMQDeviceProxy.cxx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,14 @@ std::unique_ptr<FairMQMessage> FairMQDeviceProxy::createInputMessage(RouteIndex
125125

126126
void FairMQDeviceProxy::bind(std::vector<OutputRoute> const& outputs, std::vector<InputRoute> const& inputs, fair::mq::Device& device)
127127
{
128+
mOutputs.clear();
129+
mOutputRoutes.clear();
130+
mOutputChannels.clear();
131+
mOutputChannelNames.clear();
132+
mInputs.clear();
133+
mInputRoutes.clear();
134+
mInputChannels.clear();
135+
mInputChannelNames.clear();
128136
{
129137
mOutputs = outputs;
130138
mOutputRoutes.reserve(outputs.size());

0 commit comments

Comments
 (0)