parent the keepalive timer to the NL thread

This commit is contained in:
Stephen Birarda 2015-12-04 11:01:18 -08:00
parent d9a1563396
commit ca84fcd7f4

View file

@ -40,7 +40,8 @@ NodeList::NodeList(char newOwnerType, unsigned short socketListenPort, unsigned
_nodeTypesOfInterest(),
_domainHandler(this),
_numNoReplyDomainCheckIns(0),
_assignmentServerSocket()
_assignmentServerSocket(),
_keepAlivePingTimer(this)
{
setCustomDeleter([](Dependency* dependency){
static_cast<NodeList*>(dependency)->deleteLater();