This commit is contained in:
Michael Davidsaver
2017-06-26 16:24:36 +02:00
parent 0c02625aa5
commit d5481cc277

View File

@@ -35,7 +35,7 @@ ServerContextImpl::ServerContextImpl():
_broadcastPort(PVA_BROADCAST_PORT),
_serverPort(PVA_SERVER_PORT),
_receiveBufferSize(MAX_TCP_RECV),
_timer(),
_timer(new Timer("pvAccess-server timer", lowerPriority)),
_beaconEmitter(),
_acceptor(),
_transportRegistry(),
@@ -266,8 +266,6 @@ void ServerContextImpl::initialize()
// already called in loadConfiguration
//osiSockAttach();
_timer.reset(new Timer("pvAccess-server timer", lowerPriority));
ServerContextImpl::shared_pointer thisServerContext = shared_from_this();
// we create reference cycles here which are broken by our shutdown() method,
_responseHandler.reset(new ServerResponseHandler(thisServerContext));