History

Revert "NOT MERGEABLE: graceful cleanup on Application dtor for NodeList"

Stephen Birarda committed 11 years ago

Commit 9269b2a1 parent 4da91866 files · +34 −27Browse files

Showing the changes to libraries/networking/src/ThreadedAssignment.cpp (1 of 6 files). Show all

Unified · Split

libraries/networking/src/ThreadedAssignment.cpp+4−0
@@ -67,6 +67,10 @@ void ThreadedAssignment::commonInit(const QString& targetName, NodeType_t nodeTy · 66 unmodified lines
6767 connect(domainServerTimer, SIGNAL(timeout()), this, SLOT(checkInWithDomainServerOrExit()));
6868 domainServerTimer->start(DOMAIN_SERVER_CHECK_IN_MSECS);
6969
70+ QTimer* silentNodeRemovalTimer = new QTimer(this);
71+ connect(silentNodeRemovalTimer, SIGNAL(timeout()), nodeList.data(), SLOT(removeSilentNodes()));
72+ silentNodeRemovalTimer->start(NODE_SILENCE_THRESHOLD_MSECS);
73+
7074 if (shouldSendStats) {
7175 // send a stats packet every 1 second
7276 QTimer* statsTimer = new QTimer(this);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t