History

revert changes

ZappoMan committed 12 years ago

Commit 450a9c01 parent 499c4bd1 file · +5 −8Browse files

Showing the changes to assignment-client/src/AssignmentClient.cpp (1 of 1 file). Show all

Unified · Split

assignment-client/src/AssignmentClient.cpp+5−8
@@ -194,8 +194,6 @@ void AssignmentClient::handleAuthenticationRequest() { · 193 unmodified lines
194194 }
195195
196196 void AssignmentClient::assignmentCompleted() {
197−qDebug() << "START AssignmentClient::assignmentCompleted()... this=" << this << "_currentAssignment=" << _currentAssignment;
198−
199197 // reset the logging target to the the CHILD_TARGET_NAME
200198 Logging::setTargetName(ASSIGNMENT_CLIENT_TARGET_NAME);
201199
@@ -203,15 +201,14 @@ qDebug() << "START AssignmentClient::assignmentCompleted()... this=" << this << · 1 unmodified line
203201
204202 NodeList* nodeList = NodeList::getInstance();
205203
206− // reset our NodeList by switching back to unassigned and clearing the list
207− nodeList->reset();
208− nodeList->setOwnerType(NodeType::Unassigned);
209− nodeList->resetNodeInterestSet();
210−
211204 // have us handle incoming NodeList datagrams again
212205 disconnect(&nodeList->getNodeSocket(), 0, _currentAssignment, 0);
213206 connect(&nodeList->getNodeSocket(), &QUdpSocket::readyRead, this, &AssignmentClient::readPendingDatagrams);
214207
215−qDebug() << "DONE AssignmentClient::assignmentCompleted()... this=" << this << "_currentAssignment was=" << _currentAssignment;
216208 _currentAssignment = NULL;
209+
210+ // reset our NodeList by switching back to unassigned and clearing the list
211+ nodeList->setOwnerType(NodeType::Unassigned);
212+ nodeList->reset();
213+ nodeList->resetNodeInterestSet();
217214 }